Part Number Hot Search : 
331MH VN770P 2MI30M2 0121ZS 7133LA4 B2412 LMR12D5V MAX8844Z
Product Description
Full Text Search
 

To Download IDT82V2108PX8 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  t1 / e1 / j1 oct al framer idt82v2108 preliminar y the idt logo is a registered trademark of integrated device technology, inc. industrial temperature ranges 1 january 2003 dsc-6039/3 ? 2001 integrated device technology, inc. fea tures ? octal framer supporting t1, e1 and j1 formats ? provides programmable system interface to support mitel a st- bus, at&t a chi and mvip bus, supporting data rates of 1.544 / 2.048 / 8.192mb/s; up to four links can be byte interleaved on one system bus without external logic ? provides up to three internal floating hdlc controllers for each framer to support isdn pri and v5.x interface. each hdlc con- tains 128-byte deep fifos in both the receive and transmit direc- tions ? provides jitter attenuation performance exceeding the requirements set by the associated standards for both rx and tx path ? provides payload, line and digital loop-backs ? provides a floating pseudo random bit sequence / repetitive pat- tern generator/detector, which can be assigned to any one of eight framers, the pattern may be inserted / detected in an unframed or nx64k or nx56k (t1 only) basis ? provides signaling insertion / extraction for ccs / cas and rbs signaling system ? provides programmable codes insertion, data / sign inversion and digital milliwatt code insertion on a per channel / timeslot basis ? supports automatic / manual alarming transmit and integration ? provides performance monitor to counter crc error, framing bit er- ror, far end block crc error (e1), out of frame event (t1/j1) and change of frame alignment event (t1/j1) ? provides programmable in-band loop-back code transmitter/re- ceiver, bit oriented message generator / detector ? supports polled or interrupt driven processing for all events ? supports multiplexed or non-multiplexed address/data bus mpu in- terface for configuration, control and status monitoring ? jtag boundary scan meets ieee 1149.1 ? low power 3.3v cmos technology with 5v tolerant inputs ? operating industrial temperature range: -40 c to +85 c ? package available: 128 pin pqfp 144 pin pbga applica tions ? high density internet e1 or t1 / j1 interface for routers, multiplex- ers, switches and digital modems. ? frame relay switches and access devices (frads) ? sonet / sdh add drop multiplexers ? digital private branch exchanges (pbx) ? channel service units (csu) and data service units (dsu) ? channel banks and multiplexers ? digital access and cross-connect systems (dacs) st and ards e1 mode: itu-t: g.704, g.706, g.732, g.802, g.737, g.738, g.739, g.742, g.823, g.964, g.965, i.431, o.151, o.152, o.153; etsi: ets 300 011, ets 300 233, ets 324-1, ets 347-1, tbr 4, tbr 12, tbr 13; go - mvip t1/j1 mode: ansi: t1.107, t1.231, t1.403, t1.408; tr: tsy-000147, tsy-000191, nwt-000303, tsy-000312, tsy-000- 499; at&t: tr 54016, tr 62411 ttc: jt-g 703, jt-g 704, jt-g706, jt-g 1431
2 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer description the idt82v2108 is a flexible feature-rich octal t1/e1/j1 framer. controlled by the software, the idt82v2108 can be globally configured as an octal e1 or t1/j1 framer. when e1 or t1/j1 has been set glo- bally, the operation mode of each of the eight framers can be configured independently. the configuration is performed through a par- allel multiplexed/non-multiplexed microprocessor interface. the idt82v2108 realizes frame synchronization, frame generating, signaling extraction and insertion, alarm and test signals generation and detection in a single chip. it also integrates up to three hdlc re- ceivers and hdlc transmitters for each of the eight framers. in e1 mode, the receive path of each framer can be configured to frame to basic frame, crc multi-frame and signaling multi-frame. the framing can also be bypassed (unframed mode). it detects and indicates the event of out of basic frame sync, out of crc multi- frame, out of signaling multi-frame, the remote alarm indication signal and the remote signaling multi-frame alarm indication signal. it also monitors the red and ais alarms. basic frame alignment signal errors, far end block errors (febe) and crc errors are counted. up to three hdlc links are provided to extract the hdlc message on ts16, the sa national bits and/or any arbitrary timeslot. an elastic store buffer that optionally supports slip buffering and adaptation to backplane timing is provided. in e1 receive path, signaling debounce, signaling freezing, idle code substitution, digital milliwatt code insertion, trunk conditioning, data inversion and pattern generation or detection are also supported on a per-timeslot basis. in e1 mode, the transmit path of each framer can be configured to generate basic frame, crc multi-frame and signaling multi-frame. the framing can also be disabled (unframed mode). it can also transmit remote alarm indication signal, the remote signaling multi-frame alarm indication signal, ais signal and febe. up to three hdlc links are provided to insert the hdlc message on ts16, the sa national bits and/or any arbitrary timeslot. the signaling insertion, idle code substitution, data insertion, data inversion and test pattern generation or detection are also supported on a per-timeslot basis. in e1 mode, any four of the eight framers can be multiplexed or de- multiplexed to or from one of the two 8.192m bit/s buses. in t1/j1 mode, the receive path of each framer can be configured to frame to super frame (sf) or extended super frame (esf) formats. the framing can also be bypassed (unframed mode). it detects and indicates the out of sf/esf sync event, the yellow, red and ais alarms. it also detects the presence of inband loopback codes, bit oriented message. frame alignment signal errors, crc-6 errors, out of sf/esf events and frame alignment position changes are counted. up to two hdlc links are provides to extract the hdlc message on the f- bit or any arbitrary channels in esf mode. an elastic store buffer that optionally supports controlled slip and adaptation to backplane timing is provided. in t1/j1 receive path, signaling debounce, signaling freezing, idle code substitution, digital milliwatt code insertion, idle code insertion, data inversion and pattern generation or detection are also supported on a per-channel basis. in t1/j1 mode, the transmit path of each framer can be configured to generates sf or esf. the framing can also be disabled (unframed mode). it can also transmit yellow signal and ais signal. inband loopback codes and bit oriented message can also be transmitted. up to two hdlc links are provided to insert the hdlc message on the f- bit or any arbitrary channels in esf mode. the signaling insertion, idle code substitution, data insertion, data inversion and test pattern generation or detection are also supported on a per-channel basis. in t1/j1 mode, the data stream of 1.544m bit/s can be converted to/ from the data stream of 2.048m bit/s on the system side by software configuration. in addition, any four of the eight framers can be multiplexed or de-multiplexed to or from one of the two 8.192m bit/s buses.
3 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer micro-processor interface d[7:0] rst int ale cs wr rd a[10:0] receive system interface rsfsn rsckn/ rssign rsdn receive payload control receive cas/rbs buffer elastic store buffer frame processor receive jitter attenuator lrckn lrdn hdlc receiver #1 inband loopback code detector (t1/j1 only) ieee1149.1 jtag trst tms tclk tdi tdo prbs generator /detector transmit system interface transmit payload control frame generator transmit jitter attenuator transmit clock inband loopback code generator (t1/j1 only) rscfs/ mrscfs rscck/ mrscck tsfsn/ tssign tscfs/ mtscfs tsdn tscckb/ mtscckb tsccka one of the eight framers ltckn ltdn xck #2 #3 (e1 only) hdlc transmitter #1 #2 #3 (e1 only) payload loopback digital loopback line loopback mrsfs[1:2] mrssig[1:2] mrsd[1:2] mtsd[1:2] mtssig[1:2] bias vddio vddc gndio gndc performance monitor alarm detector (t1/j1 only) bit-oriented message receiver (t1/j1 only) bit-oriented message transmitter (t1/j1 only) function al bl ock dia gram
4 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer contents 1 pin assignments ............................................................................................................................................ 13 1.1 128 pin pqfp package (top view) .................................................................................................................................................. 13 1.2 144 pin pbga package (bott om view) .......................................................................................................................................... 14 2 pin description .............................................................................................................................................. 15 3 functional description .............................................................................................................................. 21 3.1 t1 / e1 / j1 mode selection ............................................................................................................................................................. 21 3.2 frame processor (frmp) ............................................................................................................................................................... 21 3.2.1 e1 mode ......................................................................................................................................................................................... 21 3.2.2 t1/j1 mode .................................................................................................................................................................................... 26 3.3 performance monit or (pmon) ..................................................................................................................................................... 28 3.3.1 e1 mode ......................................................................................................................................................................................... 28 3.3.2 t1/j1 mode .................................................................................................................................................................................... 28 3.4 alarm detect or (almd) - t1 / j1 onl y .......................................................................................................................................... 28 3.5 hdlc receiver (rhdlc) ................................................................................................................................................................... 29 3.5.1 e1 mode ......................................................................................................................................................................................... 29 3.5.2 t1 / j1 mode .................................................................................................................................................................................. 30 3.6 bit -oriented message receiver (rbom) - t1 / j1 onl y ............................................................................................................. 30 3.7 inband loopback code detect or (ibcd) - t1 / j1 onl y ........................................................................................................... 31 3.8 elastic store buffer (elsb) ........................................................................................................................................................ 31 3.8.1 e1 mode ......................................................................................................................................................................................... 31 3.8.2 t1 / j1 mode .................................................................................................................................................................................. 31 3.9 receive cas/rbs buffer (rcrb) ................................................................................................................................................... 31 3.9.1 e1 mode ......................................................................................................................................................................................... 31 3.9.2 t1 / j1 mode .................................................................................................................................................................................. 33 3.10 receive p a yload control (rplc) .............................................................................................................................................. 33 3.10.1 e1 mode ....................................................................................................................................................................................... 33 3.10.2 t1 / j1 mode ................................................................................................................................................................................ 34 3.1 1 receive system interf ace (resi) ............................................................................................................................................... 35 3.11.1 e1 mode ....................................................................................................................................................................................... 35 3.11.1.1 receive clock slave mode .................................................................................................................................................... 36 3.11.1.1.1 receive clock slave rsck reference mode ........................................................................................................ 36 3.11.1.1.2 receive clock slave external signaling mode ...................................................................................................... 38 3.11.1.2 receive clock master mode ................................................................................................................................................... 39 3.11.1.2.1 receive clock master full e1 mode ..................................................................................................................... 39 3.11.1.2.2 receive clock master fractional e1 (with f-bit) mode ........................................................................................... 41 3.11.1.3 receive multiplexed mode ..................................................................................................................................................... 41 3.11.1.4 parity check & polarity fix ..................................................................................................................................................... 43 3.11.1.5 offset .................................................................................................................................................................................... 44 3.11.1.6 output on rsdn/mrsd & rssign/mrssig ......................................................................................................................... 44
5 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.11.2 t1 / j1 mode ................................................................................................................................................................................ 47 3.11.2.1 receive clock slave mode .................................................................................................................................................... 47 3.11.2.1.1 receive clock slave rsck reference mode ........................................................................................................ 48 3.11.2.1.2 receive clock slave external signaling mode ...................................................................................................... 50 3.11.2.2 receive clock master mode ................................................................................................................................................... 50 3.11.2.2.1 receive clock master full t1/j1 mode ................................................................................................................. 52 3.11.2.2.2 receive clock master fractional t1/j1 mode ....................................................................................................... 52 3.11.2.3 receive multiplexed mode ..................................................................................................................................................... 52 3.11.2.4 parity check .......................................................................................................................................................................... 53 3.11.2.5 offset .................................................................................................................................................................................... 55 3.11.2.6 output on rsdn/mrsd & rssign/mrssig ......................................................................................................................... 55 3.12 prbs genera t or / detect or (prgd) .......................................................................................................................................... 56 3.12.1 e1 mode ....................................................................................................................................................................................... 56 3.12.2 t1 / j1 mode ................................................................................................................................................................................ 57 3.13 transmit system interf ace (trsi) ............................................................................................................................................. 57 3.13.1 e1 mode ....................................................................................................................................................................................... 57 3.13.1.1 transmit clock slave mode ................................................................................................................................................... 58 3.13.1.1.1 transmit clock slave tsfs enable mode ........................................................................................................... 58 3.13.1.1.2 transmit clock slave external signaling mode ................................................................................................... 60 3.13.1.2 transmit clock master mode .................................................................................................................................................. 61 3.13.1.3 transmit multiplexed mode .................................................................................................................................................... 61 3.13.1.4 parity check .......................................................................................................................................................................... 63 3.13.1.5 offset .................................................................................................................................................................................... 65 3.13.2 t1 / j1 mode ................................................................................................................................................................................ 68 3.13.2.1 transmit clock slave mode ................................................................................................................................................... 68 3.13.2.1.1 transmit clock slave tsfs enable mode ........................................................................................................... 69 3.13.2.1.2 transmit clock slave external signaling mode ................................................................................................... 71 3.13.2.2 transmit clock master mode .................................................................................................................................................. 72 3.13.2.3 transmit multiplexed mode .................................................................................................................................................... 72 3.13.2.4 parity check .......................................................................................................................................................................... 75 3.13.2.5 offset .................................................................................................................................................................................... 75 3.14 transmit p a yload control (tplc) ............................................................................................................................................ 76 3.14.1 e1 mode ....................................................................................................................................................................................... 76 3.14.2 t1 / j1 mode ................................................................................................................................................................................ 76 3.15 frame genera t or (frmg) ............................................................................................................................................................. 77 3.15.1 e1 mode ....................................................................................................................................................................................... 77 3.15.2 t1 / j1 mode ................................................................................................................................................................................ 78 3.16 hdlc transmitter (thdlc) ........................................................................................................................................................... 79 3.16.1 e1 mode ....................................................................................................................................................................................... 79 3.16.2 t1 / j1 mode ................................................................................................................................................................................ 79 3.17 bit -oriented message transmitter (tbom) - t1 / j1 onl y .................................................................................................... 80 3.18 inband loopback code genera t or (ibcg) - t1 / j1 onl y ...................................................................................................... 80
6 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.19 jitter a ttenua t or (rja t/tja t) .................................................................................................................................................... 80 3.19.1 e1 mode ...................................................................................................................................................................................... 80 3.19.2 t1 / j1 mode ................................................................................................................................................................................ 83 3.20 transmit clock .............................................................................................................................................................................. 85 3.20.1 e1 mode ...................................................................................................................................................................................... 85 3.20.2 t1 / j1 mode ................................................................................................................................................................................ 85 3.21 line interf ace ................................................................................................................................................................................ 85 3.21.1 e1 mode ...................................................................................................................................................................................... 85 3.21.2 t1 / j1 mode ................................................................................................................................................................................ 85 3.22 interrupt summar y ...................................................................................................................................................................... 86 3.22.1 e1 mode ...................................................................................................................................................................................... 86 3.22.2 t1 / j1 mode ................................................................................................................................................................................ 86 3.23 loopback mode .............................................................................................................................................................................. 86 3.23.1 line loopback ............................................................................................................................................................................ 86 3.23.2 digital loopback ......................................................................................................................................................................... 86 3.23.3 payload loopback ...................................................................................................................................................................... 86 3.24 clock monit or ............................................................................................................................................................................... 86 4 opera tion ....................................................................................................................................................... 90 4.1 e1 mode ............................................................................................................................................................................................... 90 4.1.1 default setting .............................................................................................................................................................................. 90 4.1.2 various operation modes configuration ...................................................................................................................................... 90 4.1.3 operation example ....................................................................................................................................................................... 95 4.1.3.1 using the hdlc receiver ....................................................................................................................................................... 95 4.1.3.2 using the hdlc transmitter ................................................................................................................................................... 95 4.1.3.3 using the prbs generator / detector ..................................................................................................................................... 99 4.1.3.4 using payload control and receive cas/rbs buffer .............................................................................................................. 104 4.1.3.5 using tjat / timing option .................................................................................................................................................... 104 4.2 t1/j1 mode ......................................................................................................................................................................................... 105 4.2.1 default setting ............................................................................................................................................................................. 105 4.2.2 operation in j1 mode ............................................................................................................................................................. 105 4.2.3 various operation modes configuration ..................................................................................................................................... 105 4.2.4 operation example ...................................................................................................................................................................... 110 4.2.4.1 using the hdlc receiver ...................................................................................................................................................... 110 4.2.4.2 using the hdlc transmitter .................................................................................................................................................. 112 4.2.4.3 using the prbs generator / detector .................................................................................................................................... 114 4.2.4.4 using payload control and receive cas/rbs buffer .............................................................................................................. 118 4.2.4.5 using tjat / timing option .................................................................................................................................................... 118 5 programming informa tion ....................................................................................................................... 1 19 5.1 register map ................................................................................................................................................................................... 1 19
7 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 5.1.1 e1 mode register map ................................................................................................................................................................ 120 5.1.2 t1 / j1 mode register map ......................................................................................................................................................... 123 5.2 register description .................................................................................................................................................................. 126 5.2.1 e1 mode ...................................................................................................................................................................................... 126 5.2.2 t1 / j1 mode ................................................................................................................................................................................ 198 6 ieee std 1 149.1 jt ag test access port ................................................................................................... 259 6.1 jt ag instructions and instruction register (ir) ............................................................................................................... 261 6.2 jt ag da t a register ....................................................................................................................................................................... 261 6.2.1 device identification register (idr) ........................................................................................................................................... 261 6.2.2 bypass register (byr) ............................................................................................................................................................... 261 6.2.3 boundary scan register (bsr) .................................................................................................................................................. 261 6.3 test access port controller ................................................................................................................................................. 261 7 physical and electrical specifica tions .............................................................................................. 265 7.1 absolute maximum ra tings ........................................................................................................................................................ 265 7.2 opera ting conditions .................................................................................................................................................................. 265 7.3 d.c. characteristics .................................................................................................................................................................... 265 7.4 clock reset timing ....................................................................................................................................................................... 266 7.4.1 clock parameters e1 configuration ........................................................................................................................................... 266 7.4.2 clock parameters t1/j1 configuration ...................................................................................................................................... 266 7.5 microprocessor read access timing .................................................................................................................................... 267 7.6 microprocessor write access timing ................................................................................................................................... 268 7.7 i/o timing characteristics ......................................................................................................................................................... 269 7.7.1 transmit system interface timing .............................................................................................................................................. 269 7.7.2 receive system interface timing ............................................................................................................................................... 270 7.7.3 receive & transmit line timing ................................................................................................................................................. 271 7.7.3.1 receive line interface timing ............................................................................................................................................... 271 7.7.3.2 transmit line interface timing ............................................................................................................................................... 271
8 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer list of figures figure - 1. e1 frame searching process ........................................................................................................................................................... 22 figure - 2. basic frame searching process ...................................................................................................................................................... 23 figure - 3. hdlc packet .................................................................................................................................................................................... 29 figure - 4. ts16 arrangement in signaling multi-frame ................................................................................................................................... 32 figure - 5. signaling output in e1 mode ........................................................................................................................................................... 32 figure - 6. signaling output in t1 / j1 mode ..................................................................................................................................................... 32 figure - 7. receive clock slave rsck reference mode ................................................................................................................................... 36 figure - 8. e1 receive clock slave rsck reference mode - functional timing example 1 ............................................................................ 37 figure - 9. e1 receive clock slave rsck reference mode - functional timing example 2 ............................................................................ 37 figure - 10. receive clock slave external signaling mode .............................................................................................................................. 38 figure - 11. e1 receive clock slave external signaling mode - functional timing example 1 ........................................................................ 38 figure - 12. e1 receive clock slave external signaling mode - functional timing example 2 ....................................................................... 39 figure - 13. receive clock master full e1 or t1/j1 mode ................................................................................................................................. 40 figure - 14. e1 receive clock master full e1 mode - functional timing example ........................................................................................... 40 figure - 15. receive clock master fractional e1 or t1/j1 mode ....................................................................................................................... 41 figure - 16. e1 receive clock master fractional e1 mode - functional timing example ................................................................................ 42 figure - 17. receive multiplexed mode ............................................................................................................................................................. 43 figure - 18. e1 receive multiplexed mode - functional timing example 1 ...................................................................................................... 43 figure - 19. e1 receive multiplexed mode - functional timing example 2 ...................................................................................................... 44 figure - 20. receive bit offset - between rscfs & rsdn ................................................................................................................................ 46 figure - 21. receive bit offset - between rsfsn & rsdn ................................................................................................................................ 46 figure - 22. t1/j1 to e1 format conversion ..................................................................................................................................................... 48 figure - 23. t1/j1 receive clock slave rsck reference mode - functional timing example 1 ..................................................................... 48 figure - 24. t1/j1 receive clock slave rsck reference mode - functional timing example 2 ..................................................................... 49 figure - 25. t1/j1 receive clock slave rsck reference mode - functional timing example 3 ..................................................................... 49 figure - 26. t1/j1 receive clock slave external signaling mode - functional timing example 1 ................................................................... 50 figure - 27. t1/j1 receive clock slave external signaling mode - functional timing example 2 ................................................................... 51 figure - 28. t1/j1 receive clock slave external signaling mode - functional timing example 3 ................................................................... 51 figure - 29. t1/j1 receive clock master full t1/j1 mode - functional timing example .................................................................................. 52 figure - 30. t1/j1 receive clock master fractional t1/j1 mode - functional timing example ....................................................................... 53 figure - 31. t1/j1 receive multiplexed mode - functional timing example 1 .................................................................................................. 54 figure - 32. t1/j1 receive multiplexed mode - functional timing example 2 .................................................................................................. 54 figure - 33. receive bit offset in t1/j1 mode ................................................................................................................................................... 55 figure - 34. prbs pattern generator ................................................................................................................................................................ 56 figure - 35. transmit clock slave tsfs enable mode ...................................................................................................................................... 58 figure - 36. e1 transmit clock slave tsfs enable mode - functional timing example 1 ............................................................................... 59 figure - 37. e1 transmit clock slave tsfs enable mode - functional timing example 2 ............................................................................... 59 figure - 38. transmit clock slave external signaling mode ............................................................................................................................. 60
9 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer figure - 39. e1 transmit clock slave external signaling mode - functional timing example 1 ...................................................................... 60 figure - 40. e1 transmit clock slave external signaling mode - functional timing example 2 ...................................................................... 61 figure - 41. transmit clock master mode .......................................................................................................................................................... 61 figure - 42. e1 transmit clock master mode - functional timing example ..................................................................................................... 62 figure - 43. transmit multiplexed mode ............................................................................................................................................................ 63 figure - 44. e1 transmit multiplexed mode - functional timing example 1 ..................................................................................................... 64 figure - 45. e1 transmit multiplexed mode - functional timing example 2 ..................................................................................................... 64 figure - 46. transmit bit offset in e1 mode - 1 ................................................................................................................................................. 65 figure - 47. transmit bit offset in e1 mode - 2 ................................................................................................................................................. 66 figure - 48. transmit bit offset in e1 mode - 3 ................................................................................................................................................. 66 figure - 49. transmit bit offset in e1 mode - 4 ................................................................................................................................................. 67 figure - 50. transmit bit offset in e1 mode - 5 ................................................................................................................................................. 67 figure - 51. e1 to t1/j1 format conversion ..................................................................................................................................................... 69 figure - 52. t1/j1 transmit clock slave tsfs enable mode - functional timing example 1 .......................................................................... 69 figure - 53. t1/j1 transmit clock slave tsfs enable mode - functional timing example 2 .......................................................................... 70 figure - 54. t1/j1 transmit clock slave tsfs enable mode - functional timing example 3 .......................................................................... 70 figure - 55. t1/j1 transmit clock slave external signaling mode - functional timing example 1 ................................................................. 71 figure - 56. t1/j1 transmit clock slave external signaling mode - functional timing example 2 ................................................................. 71 figure - 57. t1/j1 transmit clock slave external signaling mode - functional timing example 3 ................................................................. 72 figure - 58. t1/j1 transmit clock master mode - functional timing example ................................................................................................. 73 figure - 59. t1/j1 transmit multiplexed mode - functional timing example 1 ................................................................................................ 74 figure - 60. t1/j1 transmit multiplexed mode - functional timing example 2 ................................................................................................ 74 figure - 61. transmit bit offset in t1/j1 mode - 1 ............................................................................................................................................. 75 figure - 62. transmit bit offset in t1/j1 mode - 2 ............................................................................................................................................. 75 figure - 63. e1 mode jitter tolerance (n1 = n2 = 2fh) ....................................................................................................................................... 82 figure - 64. e1 mode jitter transfer (n1 = n2 = 2fh) ......................................................................................................................................... 82 figure - 65. t1/j1 mode jitter tolerance (n1 = n2 = 2fh) .................................................................................................................................. 84 figure - 66. t1/j1 mode jitter transfer (n1 = n2 = 2fh) .................................................................................................................................... 84 figure - 67. transmit clock select .................................................................................................................................................................... 85 figure - 68. line loopback ................................................................................................................................................................................ 87 figure - 69. digital loopback ............................................................................................................................................................................ 88 figure - 70. payload loopback .......................................................................................................................................................................... 89 figure - 71. interrupt service in e1 mode hdlc receiver ................................................................................................................................ 96 figure - 72. writing data to e1 mode thdlc fifo ............................................................................................................................................ 97 figure - 73. interrupt service in e1 mode hdlc transmitter ............................................................................................................................ 98 figure - 74. polling mode in e1 mode hdlc transmitter .................................................................................................................................. 99 figure - 75. writing sequence of indirect register in e1 mode ...................................................................................................................... 104 figure - 76. reading sequence of indirect register in e1 mode .................................................................................................................... 104 figure - 77. interrupt service in t1/j1 mode hdlc receiver ........................................................................................................................... 111 figure - 78. writing data to t1/j1 mode thdlc fifo ...................................................................................................................................... 112
10 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer figure - 79. interrupt service in t1/j1 mode hdlc transmitter ...................................................................................................................... 113 figure - 80. polling mode in t1/j1 mode hdlc transmitter ............................................................................................................................ 114 figure - 81. writing sequence of indirect register in t1/j1 mode ................................................................................................................... 118 figure - 82. reading sequence of indirect register in t1/j1 mode ................................................................................................................. 118 figure - 83. jtag architecture ........................................................................................................................................................................ 259 figure - 84. jtag state diagram ..................................................................................................................................................................... 264 figure - 85. read access timing ..................................................................................................................................................................... 267 figure - 86. write access timing ..................................................................................................................................................................... 268 figure - 87. transmit interface timing (transmit system common clock #b) ............................................................................................... 269 figure - 88. transmit interface timing (line transmit clock) ......................................................................................................................... 269 figure - 89. receive interface timing (receive system common clock) ...................................................................................................... 270 figure - 90. receive interface timing (receive system clock) ...................................................................................................................... 270 figure - 91. receive line interface timing ..................................................................................................................................................... 271 figure - 92. transmit line interface timing .................................................................................................................................................... 271
11 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer list of t ables table - 1. the structure of ts0 ......................................................................................................................................................................... 23 table - 2. interrupt sources in the e1 frame processor .................................................................................................................................. 25 table - 3. the structure of sf format ............................................................................................................................................................... 26 table - 4. the structure of esf format ............................................................................................................................................................ 27 table - 5. interrupt sources in the t1 / j1 frame processor ............................................................................................................................ 27 table - 6. basic frame alignment pattern error counter .................................................................................................................................. 28 table - 7. alarm summary in almd ................................................................................................................................................................... 29 table - 8. a-law digital milliwatt pattern ........................................................................................................................................................... 34 table - 9. u-law digital milliwatt pattern ........................................................................................................................................................... 34 table - 10. e1 mode receive system interface in different operation modes .................................................................................................. 35 table - 11. operation mode selection in e1 receive path ................................................................................................................................ 35 table - 12. active edge selection of rscck (in e1 receive clock slave rsck reference mode) .................................................................. 36 table - 13. active edge selection of rscck (in e1 receive clock slave external signaling mode) ............................................................... 38 table - 14. active edge selection of rsck (in e1 receive clock master mode) .............................................................................................. 39 table - 15. active edge selection of mrscck (in e1 receive multiplexed mode) ........................................................................................... 41 table - 16. offset in different operation modes ................................................................................................................................................ 45 table - 17. receive system interface bit offset (fpmode [b5, e1-011h] = 0) .................................................................................................. 45 table - 18. receive system interface bit offset (fpmode [b5, e1-011h] = 1) .................................................................................................. 45 table - 19. bit offset between rsfsn and rsdn when the brxsmfp and the altifp (b2, b0, e1-011h) are both set to logical 1 ............. 45 table - 20. t1/j1 mode receive system interface in different operation modes ............................................................................................. 47 table - 21. operation mode selection in t1/j1 receive path ........................................................................................................................... 47 table - 22. active edge selection of rscck (in t1/j1 receive clock slave rsck reference mode) ............................................................. 48 table - 23. active edge selection of rscck (in t1/j1 receive clock slave external signaling mode) ........................................................... 50 table - 24. active edge selection of mrscck (in t1/j1 receive multiplexed mode) ....................................................................................... 52 table - 25. receive system interface bit offset ................................................................................................................................................ 55 table - 26. e1 mode transmit system interface in different operation modes ................................................................................................ 58 table - 27. operation mode selection in e1 transmit path ............................................................................................................................... 58 table - 28. active edge selection of tscckb (in e1 transmit clock slave tsfs enable mode) ..................................................................... 60 table - 29. active edge selection of tscckb (in e1 transmit clock slave external signaling mode) ............................................................ 60 table - 30. active edge selection of mtscckb (in e1 transmit multiplexed mode) ........................................................................................ 63 table - 31. transmit system interface bit offset (chi [b3, e1-01ch] = 1, cms [b2, e1-018h] = 0) ................................................................... 65 table - 32. transmit system interface bit offset (chi [b3, e1-01ch] = 1, cms [b2, e1-018h] = 1) ................................................................... 65 table - 33. t1/j1 mode transmit system interface in different operation modes ............................................................................................ 68 table - 34. operation mode selection in t1/j1 transmit path .......................................................................................................................... 68 table - 35. active edge selection of tscckb (in t1/j1 transmit clock slave tsfs enable mode) ................................................................ 69 table - 36. remote alarm indication .................................................................................................................................................................. 77 table - 37. content in international bits (when the indis [b1, e1-040h] is logic 0) .......................................................................................... 78 table - 38. interrupt summary ........................................................................................................................................................................... 78
12 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 39. default setting in receive path ....................................................................................................................................................... 90 table - 40. default setting in transmit path ...................................................................................................................................................... 90 table - 41. various operation modes in receive path for reference ............................................................................................................... 91 table - 42. various operation modes in transmit path for reference .............................................................................................................. 93 table - 43. example for using hdlc receiver .................................................................................................................................................. 95 table - 44. example for using hdlc transmitter .............................................................................................................................................. 97 table - 45. test pattern .................................................................................................................................................................................... 100 table - 46. the setting of prgd ...................................................................................................................................................................... 101 table - 47. initializtion of tplc ........................................................................................................................................................................ 101 table - 48. initializtion of rplc ....................................................................................................................................................................... 103 table - 49. error insertion ................................................................................................................................................................................ 103 table - 50. default setting in receive path ..................................................................................................................................................... 105 table - 51. default setting in transmit path .................................................................................................................................................... 105 table - 52. various operation modes in receive path for reference ............................................................................................................. 106 table - 53. various operation modes in transmit path for reference ............................................................................................................ 108 table - 54 . example for using hdlc receiver ................................................................................................................................................ 110 table - 55. example for using hdlc transmitter ............................................................................................................................................. 112 table - 56. test pattern ..................................................................................................................................................................................... 115 table - 57. the setting of prgd ....................................................................................................................................................................... 116 table - 58. initializtion of tplc ......................................................................................................................................................................... 116 table - 59. initializtion of rplc ........................................................................................................................................................................ 117 table - 60. error insertion ................................................................................................................................................................................. 118 table - 61. t1/e1 mode selection register ....................................................................................................................................................... 119 table - 62a. e1 mode register map - direct register ...................................................................................................................................... 120 table - 62b. e1 mode register map - indirect register ................................................................................................................................... 123 table - 63a. t1/j1 mode register map - direct register .................................................................................................................................. 123 table - 63b. t1/j1 mode register map - indirect register ............................................................................................................................... 125 table - 64. ir code ........................................................................................................................................................................................... 260 table - 65. idr .................................................................................................................................................................................................. 261 table - 66. boundary scan sequence and the i/o pad cell type .................................................................................................................... 261 table - 67. tap controller state description ................................................................................................................................................... 263
13 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer lrd[1] lrck[1] lrd[2] lrck[2] lrd[3] lrck[3] lrd[4] lrck[4] ltd[1] ltck[1] ltd[2] ltck[2] ltd[3] ltck[3] ltd[4] ltck[4] bias vddio[0] gndio[0] vddc[0] gndc[0] ltd[5] ltck[5] ltd[6] ltck[6] ltd[7] ltck[7] ltd[8] ltck[8] gndio[3] lrd[5] lrck[5] lrd[6] lrck[6] lrd[7] lrck[7] lrd[8] lrck[8] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 rst int d[0] d[1] d[2] d[3] d[4] d[5] d[6] d[7] vddio[1 ] gndio[ 1] vddc[1] gndc[1] ale a[0] a[1] a[2] a[3] a[4] a[5] a[6] a[7] a[8] a[9] a[10] 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 tsfs[6]/tssig[6] tsd[7] tsfs[7]/tssig[7] tsd[8] tsfs[8]/tssig[8] rsd[1]/mrsd[1] rsck[1]/rssig[1]/mrssig[1] rsfs[1]/mrsfs[1] rsd[2]/mrsd[2] gndc[3] vddc[3] rsck[2]/rssig[2]/mrssig[2] rsfs[2]/mrsfs[2] rsd[3] rsck[3]/rssig[3] rsfs[3] gndc[2] vddc[2] rsd[4] rsck[4]/rssig[4] rsfs[4] rsd[5] rsck[5]/rssig[5] rsfs[5] rsd[6] rsck[6]/rssig[6] rsfs[6] gndio[2] vddio[2] rsd[7] rsck[7]/rssig[7] rsfs[7] rsd[8] rsck[8]/rssig[8] rsfs[8] rd wr cs 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 tms tdi tck trst tdo tsccka tscckb/mtscckb tscfs/mtscfs rscck/mrscck rscfs/mrscfs gndc[4] xck vddc[4] tsd[1]/mtsd[1] tsfs[1]/tssig[1]/mtssig[1] tsd[2]/mtsd[2] tsfs[2]/tssig[2]/mtssig[2] tsd[3] tsfs[3]/tssig[3] tsd[4] testse vddio[3] tsfs[4]/tssig[4] tsd[5] tsfs[5]/tssig[5] tsd[6] 1 pin assignments 1.1 128 pin pqfp package (top view) idt82v2108
14 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer rsck[8]/ rssig[8] cs a[8] a[5] a[2] gndc[1] gndio[2] d[6] d[3] d[1] rst lrd[8] rsfs[7] rd a[10] a[4] a[1] ale vddc[1] d[7] d[0] lrck[8] lrd[7] lrd[6] lrck[5] gndio[1] vddio[2] rsd[8] wr a[6] a[3] a[0] d[5] d[2] lrck[7] lrck[6] rsfs[6] rsd[7] rsfs[8] a[9] a[7] vddio[1] d[4] int lrd[5] ltd[8] ltd[7] ltck[7] rsfs[5] rsck[5]/ rssig[5] testse rsck[7]/ rssig[7] ltck[8] ltck[6] ltck[5] ltd[6] rsfs[4] rsck[4]/ rssig[4] rsd[6] rsck[6]/ rssig[6] bias ltd[5] gndc[0] vddc[0] rsd[4] vddc[2] gndc[2] rsd[5] ltd[3] ltck[3] gndio[0] vddio[0] rsck[3]/ rssig[3] rsfs[3] rsd[3] gndio[3] lrck[4] ltd[2] ltck[4] ltd[4] ltd[1] ltck[2] rsfs[2]/ mrsfs[2] vddio[3] rsfs[1]/ mrsfs[1] tsfs[5]/ tssig[5] tsd[4] tsd[2]/ mtsd[2] trst tdi lrck[2] rsd[2]/ mrsd[2] tsfs[8]/ tssig[8] tsfs[7]/ tssig[7] vddc[4] tsfs[3]/ tssig[3] gndc[3] tscfs/ mtscfs tdo lrck[1] lrck[3] ltck[1] rsd[1]/ mrsd[1] tsd[8] tsfs[6]/ tssig[6] tsd[5] tsd[1]/ mtsd[1] xck rscfs/ mrscfs tms lrd[2] lrd[4] tsd[7] tsd[6] tsfs[4]/ tssig[4] gndc[4] tsd[3] vddc[3] rscck/ mrscck tsccka tck lrd[1] lrd[3] a b c d e f g h j k l m a b c d e f g h j k l m 12 11 10 9 8 7 6 5 4 3 2 1 12 11 10 9 8 7 6 5 4 3 2 1 tsfs[1]/ tssig[1]/ mtssig[1] tsfs[2]/ tssig[2]/ mtssig[2] tscckb/ mtscckb rsck[1]/ rssig[1]/ mrssig[1] rsck[2]/ rssig[2]/ mrssig[2] vddc[5] vddc[6] vddc[7] vddc[8] vddc[9] vddc[10] vddc[11] vddc[12] gndc[5] gndc[6] gndc[7] gndc[8] gndc[9] gndc[10] gndc[11] gndc[12] 1.2 144 pin pbga package (bott om view)
15 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 2 pin description pin no. name type pqfp pbga description line and system interface lrd[1] lrd[2] lrd[3] lrd[4] lrd[5] lrd[6] lrd[7] lrd[8] input 1 3 5 7 31 33 35 37 a2 b2 a1 b1 j4 l1 l2 m1 lrd[1:8]: line receive data for framer 1 ~ 8 these pins receive the data stre am from line interface units or from a higher demultiplex interface. data on these pins are sampled on the active edge of the corresponding lrckn. lrck[1] lrck[2] lrck[3] lrck[4] lrck[5] lrck[6] lrck[7] lrck[8] input 2 4 6 8 32 34 36 38 c3 d3 c2 e4 k2 k3 k4 l3 lrck[1:8]: line receive clock for framer 1 ~ 8 these pins receive externally recovered line clock (2.048 or 1.544 mhz). the clock is used to sample the data on the corresponding lrdn. rsck[1]/rssig[1]/ mrssig[1] rsck[2]/rssig[2]/ mrssig[2] rsck[3]/ rssig[3] rsck[4]/rssig[4] rsck[5]/rssig[5] rsck[6]/rssig[6] rsck[7]/rssig[7] rsck[8]/rssig[8] output 96 91 88 83 80 77 72 69 c11 d12 e12 g11 h11 g9 h9 m12 rsck[1:8]: receive side system clock for framer 1 ~ 8 in receive clock master full e1 or t1/j1 mo de, the clock is a smoothed version of the corresponding 2.048 or 1.544 mhz line receive clock (lrck). the rsckn is pulsed for each bit in the 256 - bit or 193 - bit frame. the corresponding rsfsn and rsdn pins are updated on the active edge of the rsckn. in receive clock master nx64k mode, the clock is a gapped version of the associated smoothed lrckn. the pulse number of the rsckn in each frame is controllable from 0 to 255 or from 0 to 192 on a per - timeslot/channel basis. the corresponding rsfsn and rsdn pi ns are updated on the active edge of the rsckn. in receive clock slave rsck reference mode, the rsckn can be selected to be either a 2.048/1.544 mhz jitter attenuated version of the corresponding lrckn or an 8khz clock divided down from the smoothed line clock lrckn. rssig[1:8]: receive side system signaling for framer 1 ~ 8 in receive clock slave external signaling mode, the extracted signaling is output on these pins. the signal on these pins is timeslot/channel - aligned with the data output on the cor responding rsdn pin and is updated on the active edge of the rscck. the extracted signaling is located in the lower nibble (b5 ~ b8). in e1 mode, the extracted signaling repeats during the entire signaling multi - frame for the same timeslot. in t1/j1 mode, the extracted signaling repeats during the entire sf/esf for the same channel. mrssig[1:2]: multiplexed receive side system signaling when the multiplexed bus structure is configured, the extracted signaling data from the selected framers are multiplexed on these pins using a byte - interleaved multiplexing scheme. the data on the mrssig[1:2] are updated on the active edge of the mrscck. rsd[1]/mrsd[1] rsd[2]/mrsd[2] rsd[3] rsd[4] rsd[5] rsd[6] rsd[7] rsd[8] output 97 94 89 84 81 78 73 70 b12 c12 e10 f12 f9 g10 j11 k11 rsd[1:8]: receive side system data for framer 1 ~ 8 the processed data stream is output on these pins. in receive clock master mode, the rsdn is updated on the active edge of the corresponding rsckn. in receive clock slave mode, the rsdn is up dated on the active edge of the rscck. mrsd[1:2]: multiplexed receive side system data when the multiplexed bus structure is configured, the processed data stream from the selected framers is multiplexed on these pins using the byte - interleaved multiplex ing scheme. the data on the mrsd[1:2] are updated on the active edge of the mrscck.
16 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pin description (continued) pin no. name type pqfp pbga description rsfs[1]/mrsfs[1] rsfs[2]/mrsfs[2] rsfs[3] rsfs[4] rsfs[5] rsfs[6] rsfs[7] rsfs[8] output 95 90 87 82 79 76 71 68 d9 d11 e11 g12 h12 j12 l12 j10 rsfs[1:8]: receive side system frame pulse for framer 1 ~ 8 in e1 m ode, rsfsn can be configured to indicate the beginning of basic frame, or crc multi - frame or/and signaling multi - frame for data stream on rsdn. when configured for the basic frame, rsfsn will pulse high/low during the first bit of each basic frame. when co nfigured for crc multi - frame, rsfsn will pulse during the first bit of the first frame of the crc multi - frame. when configured for the signaling multi - frame, rsfsn will pulse during the first bit of the first frame of the signaling multi - frame. when config ured to indicate both signaling and crc multi - frame, rsfsn will go high/low on the first bit of the first frame of the signaling multi - frame and go the opposite after the first bit of the first frame of the crc multi - frame. in t1/j1 mode, rsfsn can be conf igured to indicate each f - bit, or the first f - bit of every 12 - frame sf / every 24 - frame esf. rsfsn pulses during the above f - bit. in both e1 and t1/j1 mode, when receive clock master mode is active, the rsfsn is updated on the active edge of the correspon ding rsckn. when receive clock slave mode is active, the rsfsn is updated on the active edge of the rscck . mrsfs[1:2]: multiplexed receive side system frame pulse when the multiplexed bus structure is configured, the signals on these pins indicate the beg inning of a multiplexed frame. the mrsfs[1:2] are updated on the active edge of the mrscck. rscck/mrscck input 120 a5 rscck: receive side system common clock rscck is used only in receive clock slave mode. in e1 mode, it is a 2.048 or 4.096 mhz clock. in t1 mode, it is a 1.544 or 2.048 or 4.096 mhz clock. in receive clock slave rsck reference mode, the rsdn and the rsfsn are updated and the rscfs is sampled on the active edge of the rscck. in receive clock slave external signaling mode, the rsdn, the rsfsn and the rssign are updated and the rscfs is sampled on the active edge of the rscck. mrscck: multiplexed receive side system common clock when the multiplexed bus structure is configured, mrscck is an 8.192 or 16.384 mhz clock for the receive system mult iplexed bus. the mrscfs is sampled and the mrsd[1:2], the mrsfs[1:2] and the mrssig[1:2] are updated on the active edge of the mrscck. rscfs/mrscfs input 119 b5 rscfs: receive side system common frame pulse in receive clock slave mode, rscfs can be select ed as a frame alignment reference. it is asserted on the request of each basic frame or each multi - frame in e1 mode, or it is asserted on the request of f - bit in t1/j1 mode. the rscfs is sampled on the active edge of the rscck. mrscfs: multiplexed receive side system common frame pulse when the multiplexed bus structure is configured, the signal on this pin aligns the multiplexed frame to the backplane timing. the mrscfs is sampled on the active edge of the mrscck.
17 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pin description (continued) pin no. name type pqfp pbga description tsd[1]/mtsd[1] tsd[2]/mtsd[2] tsd[3] tsd[4] tsd[5] tsd[6] tsd[7] tsd[8] input 115 113 111 109 105 103 101 99 b7 d6 a8 d7 b9 a11 a12 b11 tsd[1:8]: transmit side system data for framer 1 ~ 8 the data streams from the system backplane are input on these pins. in transmit clock master mode, the tsdn is sampled on the active edge of the corresponding ltckn. in transmit clock slave mode, the tsdn is sampled on the active edge of the tscckb. mtsd[1:2]: multiplexed tr ansmit side system data when the multiplexed bus structure is configured, the data stream from the backplane is carried on the multiplexed bus for the selected framers. the mtsd[1:2] are sampled on the active edge of the mtscckb. tsfs[1]/tssig[1]/ mtssig[1 ] tsfs[2]/tssig[2]/ mtssig[2] tsfs[3]/tssig[3] tsfs[4]/tssig[4] tsfs[5]/tssig[5] tsfs[6]/tssig[6] tsfs[7]/tssig[7] tsfs[8]/tssig[8] output /input 114 112 110 106 104 102 100 98 a7 b8 c7 a10 d8 b10 c9 c10 tsfs[1:8]: transmit side system frame pulse for f ramer 1 ~ 8 in transmit clock master mode, the tsfsn indicates the beginning of each basic frame in e1 mode, or indicates the f - bit of sf/esf in t1/j1 mode. the tsfsn is updated on the active edge of the corresponding ltckn. in transmit clock slave tsfs e nabled mode, the tsfsn indicates the beginning of each basic frame in e1 mode, or indicates the f - bit of sf/esf in t1/j1 mode. the tsfsn is updated on the active edge of the tscckb. tssig[1:8]: transmit side system signaling for framer 1 ~ 8 in transmit clock slave external signaling mode, these are the tssig inputs. the signaling is located in the lower nibble (b5 ~ b8) and sampled on the active edge of the tscckb. in e1 mode, the signaling repeats during the entire signaling multi - frame for the same tim eslot. in t1/j1 mode, the signaling repeats during the entire sf/esf for the same channel. mtssig[1:2]: multiplexed transmit side system signaling when the multiplexed bus structure is configured, the signaling on the bus is organized in a byte - interle aved scheme for the selected framers. the mtssig[1:2] are sampled on the active edge of the mtscckb. tsccka input 123 a4 tsccka: transmit side system common clock a tsccka is one of the reference clocks for the transmit jitter attenuator dpll. tsccka can be configured to input the clock as: 1. 16.384mhz clock; 2. line rate: 2.048mhz (for e1) or 1.544mhz (for t1); 3. nx8khz (n is from 1 to 256) so long as tsccka is a jitter - free clock. the idt82v2108 can be configured to ignore the tsccka and utilize lrck a nd tscckb instead. the tsccka is replaced by lrck if line loopback is enabled. tscckb/ mtscckb input 122 b4 tscckb: transmit side system common clock b in e1 mode, the tscckb is a 2.048 or 4.096 mhz clock. in t1/j1 mode, the tscckb is a 1.544 or 2.048 or 4.096 mhz clock. in transmit clock slave tsfs mode, the tsdn and tscfs are sampled and the tsfsn is updated on the active edge of the tscckb. in transmit clock slave external signaling mode, the tsdn, tssign and tscfs are sampled on the active edge of the tscckb. mtscckb: multiplexed transmit side system common clock b when the multiplexed bus structure is configured, mtscckb is an 8.192 or 16.384 mhz reference clock for the transmit system multiplexed bus. the mtscfs, the mtsd[1:2] and the mtssig[1:2] are sampled on the active edge of the mtscckb.
18 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pin no. name type pqfp pbga description tscfs/ mtscfs input 121 c5 tscfs: transmit side system common frame pulse in transmit clock slave mode, tscfs is used to frame align all the framers to the system backplane. in e1 mode, the pulse can be configur ed to indicate the first bit of a basic frame, crc multi - frame / signaling multi - frame. in t1/j1 mode, the pulse can be configured to indicate the first bit of sf/esf. the width of the pulse must be at least 1 tscckb cycle wide. the tscfs is sampled on the active edge of the tscckb. mtscfs: multiplexed transmit side system common frame pulse when the multiplexed bus structure is configured, mtscfs is used to frame align the multiplexed frames to the system backplane. the mtscfs is sampled on the active edg e of the mtscckb . ltd[1] ltd[2] ltd[3] ltd[4] ltd[5] ltd[6] ltd[7] ltd[8] output 9 11 13 15 22 24 26 28 d2 e3 f4 e1 g3 h1 j2 j3 ltd[1:8]: line transmit data for framer 1 ~ 8 these pins output the data stream to line interface units or a higher multiplex i nterface. the data on the ltdn is updated on the active edge of the corresponding ltckn. ltck[1] ltck[2] ltck[3] ltck[4] ltck[5] ltck[6] ltck[7] ltck[8] output 10 12 14 16 23 25 27 29 c1 d1 f3 e2 h2 h3 j1 h4 ltckn: line transmit clock for framer 1 ~ 8 it is a nominal e1 (2.048mhz) or t1/j1 (1.544mhz) clock. the ltck can be derived from tsccka, tscckb, lrck or xck. on the active edge of the ltckn, the corresponding ltdn is updated. xck input 117 b6 xck: crystal clock the clock frequency equals 49.152mhz + 50 ppm 50% duty cycle for e1 and 37.056mhz + 32 ppm 50% duty cycle for t1/j1. microprocessor interface rst input 39 m2 rst : reset (active low) a low signal for at least 100ns on this pin can reset the device anytime. the rst is a schmitt - trigger input with weak pull - up. cs input 65 m11 cs : chip select (active low) this pin must be asserted low to enable the microprocessor interface. the signal must be asserted high at least once after power up to clear the internal test modes. a transition from high to low must occur on this pin for each read/write operation and cannot return to high until the operation is over. int output 40 j5 int : open - drain interrupt signal (active low) this pin will keep low until all the active unmasked interrupt are acknowledged at their sources. a[0] a[1] a[2] a[3] a[4] a[5] a[6] a[7] a[8] a[9] a[10] input 54 55 56 57 58 59 60 61 62 63 64 k7 l8 m8 k8 l9 m9 k9 j8 m10 j9 l10 a[10:0]: address bus the signals on these pins select the register for the microprocessor to access. pin description (continued)
19 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pin no. name type pqfp pbga description d[0] d[1] d[2] d[3] d[4] d[5] d[6] d[7] i/o 41 42 43 44 45 46 47 48 l4 m3 k5 m4 j6 k6 m5 l5 d[7:0]: bi - directional data bus signals on these pins are the data for read/write operation. rd input 67 l11 rd : read strobe (active low) a low signal on this pin enables a read operation on the selected register. wr input 66 k10 wr : write strobe (active low) a low signal on this pin enables a write operation on the selected register. ale input 53 l7 ale: address latch enable in non - multiplexed address/data bus, the ale is connected to high. it is internally pulled - up. jtag signals (per ieee 1149.1) trst input 125 d5 trst : test reset (active low) a low signal on this pin will reset the jtag test port anytime. this pin is a schmitt - triggered input with an internal pull - up resistor. it must be connected to the rst pin or ground when jtag is not used. tms input 128 b3 tms: test mode select the signal on this pin controls the jtag test performance and is clocked into the d evice on the rising edge of the tck. this pin has an internal pull - up resistor. tck input 126 a3 tck: test clock the clock for the jtag test is input on this pin. the tdi and the tms are clocked into the device on the rising edge of the tck and the tdo is clocked out of the device on the falling edge of the tck. tdi input 127 d4 tdi: test input the test data are input on this pin. it is sampled on the rising edge of the tck. this pin has an internal pull - up resistor. tdo tri - state 124 c4 tdo: test output the test data are output on this pin. it is sampled on the falling edge of the tck. this pin is in tri - state mode, except during the process of scanning of the data. supplies and grounds bias power 17 g4 bias: +5v bias this pin enables +5v tolerance on the inputs. when +5v tolerance inputs are required, the bias must be connected to a well - decoupled +5v rail. when +3v input is required, the bias must be connected to a well - decoupled +3.3v dc supply. during power up, the power should be applied to the bia s pin before any of vddc/vddio pins is powered. vddio[0] vddio[1] vddio[2] vddio[3] power 18 49 74 107 f1 j7 k12 d10 vddio[3:0]: these pins must be connected to a common, well - decoupled +3.3v dc supply together with the core power pins vddc[4:0] external ly. pin description (continued)
20 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer notes: 1. all outputs have 4ma drive capability except for the d[7:0], the ltck[1:8] and the rsck[1:8] pins which have 6ma drive capability. 2. all input and bi-directional pins present minimum capacitive loading. pin no. name type pqfp pbga description vddc[0] vddc[1] vddc[2] vddc[3] vddc[4] vddc[5:12] power 20 51 85 92 116 - g1 l6 f11 a6 c8 e8, e7, e6, e5, f8, f7, f6, f5 vddc[4:0]: these pins must be connected to a common, well - decoupled +3.3v dc supply toge ther with the pad ring power pins vddio[3:0] externally. the vddc[5:12] are extra power pins for pbga. gndio[0] gndio[1] gndio[2] gndio[3] ground 19 50 75 30 f2 k1 m6 e9 gndio[3:0]: these pins must be connected to a common ground together with the core g round pins gndc[4:0]. gndc[0] gndc[1] gndc[2] gndc[3] gndc[4] gndc[5:12] ground 21 52 86 93 118 - g2 m7 f10 c6 a9 g8, g7, g6, g5, h8, h7, h6, h5 gndc[4:0]: these pins must be connected to a common ground together with the pad ring ground pins gndio[3:0] . the gndc[5:12] are extra ground pins for pbga. testse input 108 h10 this pin is connected to ground for normal operation and reserved for testing. pin description (continued)
21 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3 function al description 3.1 t1 / e1 / j1 mode selection the idt82v2108 can be configured as a duplex eight ports e1 framer, or a duplex eight ports t1 framer, or a duplex eight ports j1 framer. when the tmode (b0, 400h) * is set to 0, the device is in e1 mode. when the tmode (b0, 400h) is set to 1, the device is in t1/j1 mode (default mode). in t1/j1 mode, when the jyel (b3, t1/j1-020h) and the j1_yel (b5, t1/j1-02ch) are both set to 0, the receive path of the corresponding framer is in t1 mode; when the jyel (b3, t1/j1- 020h) and the j1_yel (b5, t1/j1-02ch) are both set to 1, the receive path of the corresponding framer is in j1 mode; when the j1_crc (b6, t1/j1-044h) and the j1_yel (b5, t1/j1-044h) are both set to 0, the transmit path of the corresponding framer is in t1 mode; when the j1_crc (b6, t1/j1-044h) and the j1_yel (b5, t1/j1-044h) are both set to 1, the transmit path of the corresponding framer is in j1 mode. 3.2 frame processor (frmp) the frame processor of each framer operates independently. 3.2.1 e1 mode in e1 mode, the frame processor searches for basic frame synchronization, crc multi-frame synchronization, and channel associated signaling (cas) multi-frame synchronization in the received data stream. figure - 1 shows the searching process. once the frame is synchronized, the frame processor keeps on monitoring the received data stream. if there are any framing bit errors, cas multi-frame alignment pattern errors, crc multi-frame alignment pattern errors or crc errors, the frame processor will indicate these errors. the status of loss of frame, loss of signaling multi-frame and loss of crc multi-frame can also be detected and declared based on user-selectable criteria. the reframe operation can be initiated by excessive crc errors, or the crc multi-frame alignment is not found within 400ms. a software reset can also make the frame processor reframe. the frame processor can extract the data stream in ts16, and output the extracted data on a separate pin. the frame processor also extracts the contents of the international bits (from both the fas and the nfas frames), the national bits and the extra bits (from ts16 in the frame 0 of the signaling multi-frame), and stores these data in registers. the crc sub multi-frame alignment 4 bit codeword in the national bit positions sa4 to sa8 can also be extracted and stored in registers, and updated every crc sub multi-frame. the framer processor identifies the remote alarm bit (bit 3 of ts0 of nfas frames) and remote signaling multi-frame alarm (bit 6 of ts16 of the frame 0 of the signaling multi-frame). the ?de-bounced? remote alarm and remote signaling multi-frame alarm can be indicated if the corresponding bit has been a certain logic for consecutive 2 or 3 times. the ais (alarm indication signal) can also be detected, and if the ais condition has persisted for at least 100 ms, an ais alarm is declared. the frame processor can also declare a red alarm if the out-of-frame condition has persisted for at least 100 ms. an interrupt output is provided to indicate status changes and the occurrence of some events. the interrupts may be generated every basic frame, crc sub multi-frame, crc multi-frame or signaling multi-frame. the frame processor can also be bypassed to receive unframed data. basic frame the algorithm of searching for the e1 basic frame alignment pattern (as shown in figure - 2) meets the itu-t recommendation g.706 4.1.2 and 4.2. generally, it is performed by detecting a successive fas/nfas/fas sequence. if step 2 is not met, a new search will start after the follow- ing frame is skipped. if step 3 is not met, a new search will start imme- diately in the next frame. once the basic frame alignment pattern is de- tected in the received pcm data stream, the basic frame synchroniza- tion is found and the oofv (b6, e1-036h) will be set to logic 0 for indi- cation. then, this block goes on monitoring the received data stream. if the received basic frame alignment signal does not meet its pattern, it will be indicated by setting the feri (b2, e1-034h). the criteria of out of basic frame synchronization are selected by the bit2c (b6, e1-031h). if one of the conditions that set in the bit2c (b6, e1-031h) is met, the search process will restart when the refrdis (b0, e1-030h) is 0. ex- cessive crc errors will also lead to re-searching for the basic frame (refer to ?crc multi-frame? for details). however, the basic frame synchronization can also be forced to re- search for a new basic frame any time when there is a transition from 0 to 1 on the refr (b2, e1-030h). crc multi-frame the crc multi-frame is provided to enhance the ability of verifying the data stream. the structure of ts0 of crc multi-frame is illustrated in table - 1: a crc multi-frame consists of 16 continuous basic frames (no. 0 ? 15) which are numbered from a basic frame with fas. each crc multi- frame can be divided into two sub multi-frames (smf i & smf ii). the first bit of ts0 of each frame is called international (si) bit. the si bit in each even frame is the crc bit. thus, there are c1, c2, c3, c4 in each smf. the c1 is the most significant bit, while the c4 is the least significant bit. the si bit in the first six odd frames is the crc multi- frame alignment pattern. its pattern is ?001011?. the si bit in the frame 13 and the frame 15 are e1 and e2 bits. the e bits? value can indicate the far end block errors (febe). after the basic frame has been synchronized, the frame processor initiates an 8 and 400ms timer to check the crc multi-frame alignment signal if the crcen (b7, e1-030h) is 1. the crc multi-frame synchro- nization is declared with a logic 0 in the oocmfv (b4, e1-036h) only if at least two crc multi-frame alignment patterns are found within 8ms, with the interval time of each pattern being a multiple of 2ms. then if the received crc multi-frame alignment signal does not meet its pattern, it will be indicated by the cmferi (b0, e1-034h). the frame processor calculates the data in the smf(n) per the algorithm in the g.704 and the g.706 to get a four-bit remainder, then compares the four-bit remainder with the c1, c2, c3, c4 in the next smf. if there is a difference between note : * the contents in the brackets indicate the position of this bit and the address of the register. if more than one register contains the same bit, the address is only for the first register, the addresses of the remaining registers are listed together with the first register in the register description paragraph.
22 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer out of sync. oofv=1,oocmfv=1, oosmfv=1, ooofv=0,rai=1,ei=0 find fas in n frame search for basic fframe alignment patten (refer to basic frame) find nfas in (n+1) frame th no (n=n+1) yes find fas in (n+2) frame th yes no (n=n+3) basic frame sync. acquired oofv=0, rai=0, ei=0 start to check fas errors search for crc multi-frame alignment pattern if crcen = 1 (refer to crc multi-frame) start 8ms and 400ms timer find 2 crc multi-frame alignment patterns within 8ms, with the interval time of each pattern being a multiple of 2ms yes crc multi-frame sync. acquired; start crc and e-bits processing; oocmfv=0, oofv=0 crc to crc interworking no, and 8ms expired c2nciwv=1 crc to non-crc interworking stop crc processing e-bits set to logic 0 no, and 400ms expired with basic frame sync. yes find signaling multi-frame alignment pattern search for signaling multi-frame alignment if casdis = 1 (refer to signaling multi-frame) yes signaling multi-frame sync. acquired no check for out of signaling multi-frame sync conditions which criteria are set in the smfasc & ts16c no (n=n+3) yes 3 consecutive fas or nfas errors (criteria selected by the bit2c) or manually re-frame > 914 crc errors in one second find nfas in (n+1) frame th yes find fas in (n+2) frame th yes yes lock the sync. position start offline frame search ooofv=1 basic frame sync. acquired ooofv=0 start 8ms timer find 2 crc multi-frame alignment patterns within 8ms, with the interval time of each pattern being a multiple of 2ms yes no (skip one frame, n=n+3) no no (skip one frame, n=n+3) th th find fas in n frame no (n = n+1) no, and 8ms expired figure - 1. e1 frame searching process
23 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer step1: search for 7-bit frame alignment sequence (fas) (x0011011) in the n frame step 2: find logic 1 in the 2nd bit of ts0 of the (n+1) frame to ensure that this is a non-frame alignment sequence (nfas) step 3: search for the correct 7-bit fas (x0011011) in the ts0 in the (n+2) frame yes no (n=n+1) yes yes basic frame synchronization found no (n=n+3) no (skip one frame, n=n+3) th th th them, bit errors exist in smf(n) and a crc error is counted. the crcerr[9:0] (b7~0, e1-039h & b1~0, e1-03ah) are used to indicate the crc error numbers and are updated every second. once the crcerr[9:0] (b7~0, e1-039h & b1~0, e1-03ah) are updated, a logic 1 will be set in the newdata (b6, e1-03ah) for indication. if the crcerr[9:0] are over-written, the ovr (b7, e1-03ah) will be asserted. when more than 914 crc errors occur in one second which is indicated in the excrcerr (b0, e1-031h, a new search for the basic frame alignment pattern will start if the refcrce (b1, e1-030h) is set to 1 and the refrdis (b0, e1-030h) is set to 0. if the 2 crc multi-frame alignment patterns can not be found within 8ms with the interval time being a multiple of 2ms, an offline search for the basic frame alignment pattern will start which is indicated in the ooofv (b3, e1-036h). the process is the same as shown in figure - 2. this offline operation searches in parallel with the pre-found basic frame synchronization searching process. after the new basic frame synchronization is found by this offline search, the 8ms timer is restarted to check whether the two crc multi-frame alignment patterns are found within 8ms, with the interval time of each pattern being a multiple of 2ms again. if the condition can not be met, the procedure will go on until the 400ms timer ends. if the condition still can not be met at that time and the basic frame is still synchronized, the device declares by the c2nciwv (b7, e1-036) to run under the crc to non-crc interworking process. in this process, the crc multi-frame alignment pattern can still be searched if the c2nciwck (b5, e1-030h) is logic 1. cas signaling multi-frame if the crcen (e1-030h) is logic 1, after the crc multi-frame has been found, the frame processor starts to search for signaling multi- frame alignment pattern when the casdis (e1-030h) is logic 0. if the crcen is logic 0, after the basic frame has been found, the frame processor starts to search for signaling multi-frame alignment signal when the casdis (e1-030h) is logic 0. refer to figure - 1. the signaling multi-frame alignment pattern is located in the 1 ? 4 bits of ts16 of frame 0 of signaling multi-frame. the pattern is ?0000?. once the pattern is detected, the signaling multi-frame synchronization is acquired which is indicated with a logic 0 in the oosmfv (b5, e1- figure - 2. basic frame searching process table - 1. the structure of ts0 the eight bits in timeslot 0 smf basic frame no. / type 1 (si bit) 2 3 4 5 6 7 8 0 /fas c1 0 0 1 1 0 1 1 1 / nfas 0 1 a sa4 sa5 sa6 sa7 sa8 2 / fas c2 0 0 1 1 0 1 1 3 / nfas 0 1 a sa4 sa5 sa6 sa7 sa8 4 / fas c3 0 0 1 1 0 1 1 5 / nfas 1 1 a sa4 sa5 sa6 sa7 sa8 6 / fas c4 0 0 1 1 0 1 1 smf i 7 / nfas 0 1 a sa4 sa5 sa6 sa7 sa8 8 / fas c1 0 0 1 1 0 1 1 9 / nfas 1 1 a sa4 sa5 sa6 sa7 sa8 10 / fas c2 0 0 1 1 0 1 1 11 / nfas 1 1 a sa4 sa5 sa6 sa7 sa8 12 / fas c3 0 0 1 1 0 1 1 13 / nfas e1 1 a sa4 sa5 sa6 sa7 sa8 14 / fas c4 0 0 1 1 0 1 1 crc - 4 multi - frame smf ii 15 / nfas e2 1 a sa4 sa5 sa6 sa7 sa8
24 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 036h). if the received signaling multi-frame alignment signal does not meet its pattern, the smferi (b1, e1-034h) is set to logic 1. the entire content in ts16 of frame 0 of signaling multi-frame is ?0000xy xx?. y is for remote signaling multi-frame alarm indication and x are extra bits. a new search of signaling multi-frame alignment pattern is initiated when the out of the signaling multi-frame criteria set in the smfasc (b5, e1-031h) and the ts16c (b4, e1-031h) is met or when it is out of basic frame synchronization . all the above frame synchronization functions can only be executed when the unf (b6, e1-000h) is logic 0. red alarm red alarm is declared when the out of basic frame sync condition has persisted for 100ms. red alarm is removed when the out of basic frame sync condition has been absent for 100ms. the red alarm sta- tus is reflected in the red (b3, e1-037h). the received data stream is out of basic frame sync when: 1) the basic frame has not been synchronized; 2) the received data stream meets the out of basic frame sync criteria set in the bit2c (b6, e1- 031h); 3) there are excessive crc errors in the received data stream. any one of the three conditions will be indicated by the oofv (b6, e1- 036h). the integration of red alarm uses the following algorithm: the algo- rithm monitors the occurrence of out of basic frame over a 4ms interval. a valid out of basic frame presence is accumulated when one or more out of basic frame indications occurred during the 4ms interval. each valid out of basic frame presence increases one accumulation. an invalid out of basic frame presence is also accumulated when there is no out of basic frame indication occurring during the 4ms inverval. each invalid out of basic frame indication decreases one accumulation (until the accumulation is zero). the red alarm is declared when 25 valid out of basic frame presences have been accumulated. the red alarm is removed when the out of basic frame presences reaches 0. ais alarm the ais density criteria are selected in the aisc (b1, e1-031h). that is, if it is out of basic frame synchronization and less than 3 zeros are detected in a 512-bit stream, or if it is out of basic frame synchroniza- tion and less than 3 zeros are detected in each of 2 consecutive 512-bit streams, the status will be reported by the aisd (b5, e1-037h). when the above status has lasted for 100ms, ais alarm is declared with a logic 1 in the ais (b2, e1-037h). however, in unframed mode, the detection of ais alarm is disabled. bits extraction the frame processor extracts the national bit codeword (sa4[1:4] to sa8[1:4] in the crc sub multi-frame), the international bit (si), the na- tional bit (sa), the remote alarm indication bit (a), the extra bits (x) and the remote signaling multi-frame alarm indication bit (y). - national bit codeword the frame processor extracts one of the national bit codeword (sa4[1:4] to sa8[1:4] in the crc sub multi-frame) to the sax[1:4] (b3~0, e1-03dh). here the ?x? is selected from 4 to 8 by the sasel[2:0] (b7~5, e1-03bh). the sax[1:4] (b3~0, e1-03dh) are debounced. they are up- dated only when two consecutive codewords are the same. - international bit the international bits (si) are extracted to the si[1:0] (b7~6, e1- 038h). the si[1:0] (b7~6, e1-038h) are updated on the boundary of the associated fas/nfas frame and are not updated when out of frame is reported. - national bit the national bits (sa) are extracted to the sa[4:8] (b4~0, e1-038h). the sa[4:8] (b4~0, e1-038h) are updated on the boundary of the asso- ciated nfas frame and are not updated when out of frame is reported. - remote alarm indication bit the remote alarm indication bit (a) is extracted to the a (b5, e1- 038h). the a (b5, e1-038h) is updated on the boundary of the associ- ated nfas frame. - extra bit the extra bits (x) are extracted to the x[0:2] (b5 & b3~2, e1-03ah). the x[0:2] (b5 & b3~2, e1-03ah) are updated on the beginning of the frame1 (next nfas frame). - remote signaling multi-frame alarm indication bit the remote signaling multi-frame alarm indication bit (y) is ex- tracted to the y (b4, e1-03ah). the y (b4, e1-03ah) is updated on the beginning of the frame1 (next nfas frame). v5.2 link the v5.2 link id signal, i.e. 2 out of 3 sa7 bits being logic 0, is de- tected with the indication in the v52linkv (b0, e1-036h). interrupt sources 24 kinds of interrupts are derived from this block as shown in table - 2. when there are conditions meeting the interrupt sources, the corre- sponding status bit will be asserted high. when there is a transition (logic 1 to 0 or logic 0 to 1) on the status bit, the corresponding status interrupt indication bit will be set to logic 1 (if the status bit does not ex- ist, the source will cause its status interrupt indication bit to logic 1 di- rectly) and the status interrupt indication bit will be cleared when it is read. a logic 1 in the status interrupt indication bit means an interrupt occurred. the interrupt will be reported by the int pin if its status inter- rupt enable bit is logic 1.
25 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer no. sources status bit interrupt indication bit interrupt enable bit 1 the received basic frame alignment signal does not meet its pattern once basic frame sync is achieved. - feri (b2, e1 - 034h) fere (b2, e1 - 032h) 2 the received crc multi - frame alignmen t signal does not meet its pattern once crc multi - frame sync is achieved. - cmferi (b0, e1 - 034h) cmfere (b0, e1 - 032h) 3 the received signaling multi - frame alignment signal does not meet its pattern once signaling multi - frame sync is achieved. - smferi (b1 , e1 - 034h) smfere (b1, e1 - 032h) 4 the received data stream is out of basic frame sync, that is, when: 1. the basic frame has not been synchronized; 2. the received data stream meets the out of basic frame sync criteria set in the bit2c (b6, e1 - 031h) ; 3. t here are excessive crc errors in the received data stream. oofv (b6, e1 - 036h) oofi (b6, e1 - 034h) oofe (b6, e1 - 032h) 5 the received data stream is out of crc multi - frame sync, that is, when: 1. the crc multi - frame has not been synchronized; 2. there are ex cessive crc errors in the received data stream. oocmfv (b4, e1 - 036h) oocmfi (b4, e1 - 034h) oocmfe (b4, e1 - 032h) 6 the received data stream is out of signaling multi - frame sync, that is, when: 1. the received data stream is out of basic frame sync; 2. the received data stream meets the out of signaling multi - frame sync criteria set in the smfasc (b5, e1 - 031h) and the ts16c (b4, e1 - 031h). oosmfv (b5, e1 - 036h) oosmfi (b5, e1 - 034h) oosmfe (b5, e1 - 032h) 7 the out of basic frame sync condition has lasted for 10 0ms. (e.g. the condition in item no.4 has lasted for 100ms.) red (b3, e1 - 037h) redi (b3, e1 - 035h) rede (b3, e1 - 033h) 8 the calculated crc remainder is not equal to the received c[1:4] bits. - crcei (b0, e1 - 035h) crcee (b0, e1 - 033h) 9 it is out of basic frame sync and less than 3 zeros are detected in a 512 - bit stream, or it is out of basic frame sync and less than 3 zeros are detected in each of 2 consecutive 512 - bit stream. these two criteria are selected in the aisc (b1, e1 - 031h ). aisd (b5, e1 - 037h) aisdi (b5, e1 - 035h) aisde (b5, e1 - 033h) 10 the condition in item no.9 has lasted for 100ms. ais (b2, e1 - 037h) aisi (b2, e1 - 035h) aise (b2, e1 - 033h) 11 logic 1 is received in the a bit for a certain period. the criteria are defined in the raic (b3, e1 - 03 1h). raiv (b7, e1 - 037h) raii (b7, e1 - 035h) raie (b7, e1 - 033h) 12 logic 0 is received in any of the crc error indication (e1 or e2) bit. - febei (b1, e1 - 035h) febee (b1, e1 - 033h) 13 a logic 1 is received in the a bit and a logic 0 is received in any of the e1 or e2 bits for 10ms. raiccrcv (b2, e1 - 036h) raiccrci (b6, e1 - 03fh) raiccrce (b6, e1 - 03eh) 14 a logic 0 is received in any of the e1 or e2 bits on 3 990 occasions per second for the latest 5 consecutive seconds. cfebev (b1, e1 - 036h) cfebei (b5, e1 - 0 3fh) cfebee (b5, e1 - 03eh) 15 logic 1 is received in the y bit for 3 consecutive signaling multi - frames. rmaiv (b6, e1 - 037h) rmaii (b6, e1 - 035h) rmaie (b6, e1 - 033h) 16 the device is operating in the crc to non - crc inter working mode. c2nciwv (b7, e1 - 036h ) c2nciwi (b7, e1 - 034h) c2nciwe (b7, e1 - 032h) 17 the position of the basic frame alignment pattern is changed. - cofai (b3, e1 - 034h) cofae (b3, e1 - 032h) 18 the device is in the procedure of the offline basic frame searching. ooofv (b3, e1 - 036h) ooofi (b7, e1 - 03fh) ooofe (b7, e1 - 03eh) 19 the first bit of each basic frame is received. - ifpi (b3, e1 - 03fh) ifpe (b3, e1 - 03eh) 20 the first bit of each crc sub multi - frame is received. - icsmfpi (b2, e1 - 03fh) icsmfpe (b2, e1 - 03eh) 21 the first bit of each crc multi - frame is received. - icmfpi (b1, e1 - 03fh) icmfpe (b1, e1 - 03eh) 22 the first bit of each signaling multi - frame is received. - ismfpi (b0, e1 - 03fh) ismfpe (b0, e1 - 03eh) 23 2 out of 3 sa7 bits are received as logic 0. v52linkv (b0, e1 - 036h) v52li nki (b4, e1 - 03fh) v52linke (b4, e1 - 03eh) 24 there is change in the corresponding sax[1:4] (b3~0, e1 - 03dh). - sa4i, sa5i, sa6i, sa7i, sa8i (b4~0, e1 - 03ch) sa4e, sa5e, sa6e, sa7e, sa8e (b4~0, e1 - 03bh) table - 2. interrupt sources in the e1 frame processor
26 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the bit in each channel frame no. in the sf f - bit (frame alignment) data bit signaling bit 1 1 1 - 8 - 2 0 1 - 8 - 3 0 1 - 8 - 4 0 1 - 8 - 5 1 1 - 8 - 6 1 1 - 7 a (bit 8) 7 0 1 - 8 - 8 1 1 - 8 - 9 1 1 - 8 - 10 1 1 - 8 - 11 0 1 - 8 - 12 x 1 - 7 b (bit 8) x should be logic 0 in t1 fas. x can be logic 0 or 1 in j1 fas because this position is used as yellow alarm indication bit. table - 3. the structure of sf format 3.2.2 t1/j1 mode in t1/j1 mode, the frame processor searches for the frame alignment patterns in the standard super-frame (sf) or in the extended super-frame (esf) framing formats. the format is selected by the esf (b4, t1/j1-020h). the searching algorithm of t1 or j1 is selected by the jyel (b3, t1/j1-020h). the frame processor acquires frame alignment per itu-t requirement . when frame alignment is achieved, the framer processor continues to monitor the received data stream. if there are any of framing bit errors or bit error events, the frame processor declares these events. the frame processor can also detect out-of-frame events based on selectable criteria. the frame processor can also be disabled to receive unframed data. super frame (sf) format the structure of t1/j1 sf format is illustrated in the table - 3. the sf is made up of 12 frames. each frame consists of a one bit overhead - f bit and 24 8-bit channels. if two consecutive valid frame alignment pat- terns - ?100011011100? for t1 / ?10001101110x? for j1 - are received in the f-bit in the received data stream, the sf synchronization is ac- quired. if the same pattern is received in the data stream other than in the f-bit, it is a mimic pattern. if a mimic pattern exists during the frame searching procedure, the synchronization will not be declared and the mfp (b1, t1/j1-022h) will be set to indicate the presence of a mimic pattern. extended super frame (esf) format the structure of t1/j1 esf format is illustrated in the table-4. the esf is made up of 24 frames. each frame consists of a one bit over- head - f bit and 24 8-bit channels. the pattern of the frame alignment pattern is ?001011?, which is lo- cated from frame 4 in every 4th f-bit position. when the esffa (b5, t1/ j1-020h) is set to 0, if four consecutive frame alignment patterns are detected in the f-bit in the received data stream, the esf synchroniza- tion is acquired. if the same pattern is received in the data stream other than in the f-bit, it is a mimic pattern. if a mimic pattern exists during the frame searching procedure, the synchronization will not be declared and the mfp (b1, t1/j1-022h) will be set to indicate the presence of a mimic pattern. when the esffa (b5, t1/j1-020h) is set to 1, the synchroniza- tion will be declared when 6 consecutive frame alignment patterns are received error free and the crc-6 checksum is also error free. in this condition, the existance of mimic patterns will not be considered. a 4-frame capacity buffer is used to store the data when the frame processor is searching for sf/esf synchronization. once the sf/esf is synchronized, the buffer is relinquished by the frame processor and the frame processor continues to monitor the errors. when the fas error ratio exceeds the criteria configured in the m2o[1:0] (b7~6, t1/j1- 020h), it is out of frame. all the frame sync function can only be executed when the unf (b6, t1/j1-000h) is logic 0. the interrupt sources in this block are summarized in table - 5. when there are conditions meeting the interrupt sources, the corre- sponding status bit will be asserted high. when there is a transition (logic 1 to 0 or logic 0 to 1) on the status bit, the corresponding status interrupt indication bit will be set to logic 1 (if the status bit does not ex- ist, the source will cause its status interrupt indication bit to be logic 1 directly) and the status interrupt indication bit will be cleared when it is read. a logic 1 in the status interrupt indication bit indicates an interrupt occurred. the interrupt is reported by the int pin if its status interrupt enable bit was set to logic 1.
27 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer f - bit assignment the bit in each channel frame no. in the esf fas dl crc data bit signaling bit 1 - dl - 1 - 8 - 2 - - c1 1 - 8 - 3 - dl - 1 - 8 - 4 0 - - 1 - 8 - 5 - dl - 1 - 8 - 6 - - c2 1 - 7 a (bit 8) 7 - dl - 1 - 8 - 8 0 - - 1 - 8 - 9 - dl - 1 - 8 - 10 - - c3 1 - 8 - 11 - dl - 1 - 8 - 12 1 - - 1 - 7 b (bit 8) 13 - dl - 1 - 8 - 14 - - c4 1 - 8 - 15 - dl - 1 - 8 - 16 0 - - 1 - 8 - 17 - dl - 1 - 8 - 18 - - c5 1 - 7 c (bit 8) 19 - dl - 1 - 8 - 20 1 - - 1 - 8 - 21 - dl - 1 - 8 - 22 - - c6 1 - 8 - 23 - dl - 1 - 8 - 24 1 - - 1 - 7 d (bit 8) table - 4. the structure of esf format no. sources status bit interrupt indication bit interrupt enable bit 1 the frame alignment mimic pattern is detected in the received data stream. mfp (b1, t1/j1 - 022h) mfpi (b3, t1/j1 - 022h) mfpe (b1, t1/j1 - 021h) 2 the sf / esf synchronization is found. infr (b0, t1/j1 - 022h) infri (b2, t1/j1 - 022h) infre (b0, t1/j1 - 021h) 3 the position of the new frame alignment pattern differs from the position of the previous one. - cofai (b7, t1/j1 - 022h) cofae (b5, t1/j1 - 021h) 4 one bit error is detected in frame al ignment pattern. - feri (b6, t1/j1 - 022h) fere (b4, t1/j1 - 021h) 5 two or more bit errors are detected in one frame alignment pattern. - sfei (b4, t1/j1 - 022h) sfee (b2, t1/j1 - 021h) 6 in the sf format, one bit error is detected in frame alignment pattern. in the esf format, the received crc - 6 is not equal to the local calculated crc - 6. - beei (b5, t1/j1 - 022h) beee (b3, t1/j1 - 021h) table - 5. interrupt sources in the t1 / j1 frame processor .
28 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.3 performance monit or (pmon) the performance monitor is used to count various performance events in the received data stream within defined intervals. the perform- ance monitor of each framer operates independently. 3.3.1 e1 mode the pmon block counts the basic frame alignment pattern errors. the method of counting the errors is defined by the worderr (b5, e1- 000h) and cntnfas (b4, e1-000h) as shown in table - 6. the number of the basic frame alignment pattern errors counted during the interval is reflected in the fer[6:0] (b6~0, e1-069h). fer[8:0] (b0, t1/j1-04dh & b7~0, t1/j1-04ch) (in sf format, the us- age of the bee[11:0] (b3~0, t1/j1-04bh & b7~0, t1/j1-04ah) is the same as that of the fer[8:0]); 2. the out of sf synchronization event is counted. the number counted during the interval is reflected in the oof[4:0] (b4~0, t1/j1- 04eh); 3. the number of changes of the frame alignment position during the interval is counted and is reflected in the cofa[2:0] (b2~0, t1/j1-04fh). in esf format, the performance monitor counts four kinds of events: 1. the block counts the crc-6 errors which mean the local calcu- lated crc-6 remainders are not equal to the received crc-6. the number of the errors counted during the interval is indicated in the bee[11:0] (b3~0, t1/j1-04bh & b7~0, t1/j1-04ah); 2 ~ 4. (the same events as 1 ~ 3 in the sf format, described above.) these pmon error count registers in a framer can be updated as a group. the intervals are typically 1 second when the autoupdate (b0, t1/j1-000h) of the framer is set. they can also be updated by writing to any of these pmon error count registers. the pmon error count regis- ters of eight framers can also be updated together by writing to the revi- sion / chip id / global pmon update register (t1/j1-00ch). once the pmon error count registers are updated, the xfer (b1, t1/j1-049h) will be logic 1 and an interrupt can be asserted on the int pin if the inte (b2, t1/j1-049h) is logic 1. if the performance number counted in the next interval is latched in its pmon register without the previous one being read, the pmon error count register is over-written. any over-writing of the four kinds of pmon error count registers will be indicated in the ovr (b0, t1/j1- 049h). 3.4 alarm detect or (almd) - t1 / j1 onl y the alarm detector block exists in t1/j1 mode only. it detects the yellow signal and the ais (blue alarm) signal in sf/esf in t1/j1 data stream and declares the yellow alarm, the red alarm and the ais alarm. the t1 or j1 mode is selected by the j1_yel (b5, t1/j1-02ch) while the sf or esf format is selected by the esf (b4, t1/j1-02ch). the yellow signal is declared differently in each format: - in t1 sf format: the yellow signal occupies the 2nd bit of each channel. when the occurence of logic 1 in this bit position is less than 16 times (including 16 times) during a 40ms period, the yellow signal is de- clared. - in j1 sf format: the yellow signal occupies the f-bit of the 12th frame. when the occurence of logic 0 on this bit position is less than 2 times (including 2 times) during a 40ms period, the yellow signal is de- clared. - in t1/j1 esf format: the yellow signal occupies the dl of the f-bit (refer to table-4). the pattern is ?ff00? in t1 mode and ?ffff? in j1 mode. when the avc (b1, t1/j1-02ah) is logic 0, the yellow signal is declared if 8 out of 10 successive patterns match the ?ff00? (in t1) or ?ffff? (in j1) on the dl bit position. when the avc (b1, t1/j1-02ah) is logic 1, the yellow signal is declared if 4 out of 5 successive patterns match the ?ff00? (in t1) or ?ffff? (in j1) on the dl bit position any of the above conditions will be indicated by the yeld (b1, t1/j1- 02fh). the ais signal is declared when the received data are out of sf/esf synchronization for 60ms and the received logic 0 is less than 127 times in the same period. then the ais signal will be indicated by the aisd (b0, t1/j1-02fh). worderr (b5, e1 - 000h) cntnfas (b4, e1 - 000h) one error is counted 0 0 one bit error in fas 0 1 one bit error in fas or a logic 0 in bit 2 of ts0 of nfas 1 0 one or more than one bit error in a fas 1 1 any bit error in a fas and the 2nd bit of ts0 of th e following nfas table - 6. basic frame alignment pattern error counter the pmon block counts the far end block error (febe) which is de- tected in the e1 and e2 bits. the number of the febe counted during the interval is stored in the febe[9:0] (b1~0, e1-06bh & b7~0, e1- 06ah). the block also counts the crc errors which mean the local calcu- lated crc remainders are not equal to the received crc. the number of the crc errors counted during the interval is indicated in the crce[9:0] (b1~0, e1-06dh & b7~0, e1-06ch). the above three kinds of pmon error count registers are deacti- vated when the framer is out of basic framer synchronization. the latter two kinds of pmon error count registers are also deactivated when it is out of crc multi-frame synchronization. these pmon error count registers in a framer can be updated as a group. the intervals are typically 1 second when the autoupdate (b0, e1-000h) of the current framer is set. they can also be updated by writ- ing to any of these pmon error count registers. the pmon error count registers in eight framers can also be updated together by writing to the revision / chip id / global pmon update register (e1-009h). once the pmon error count registers are updated, the xfer (b1, e1-068h) will be set to logic 1 and an interrupt can be asserted on the int pin if the inte (b2, e1-068h) is logic 1. if the performance number counted in the next interval is latched in its pmon error count register without the previous one being read, the pmon error count register is over-written. any over-writing of the three kinds of pmon error count registers will be indicated in the ovr (b0, e1-068h). 3.3.2 t1/j1 mode in sf format, the performance monitor counts three kinds of events: 1. every one-bit error in a frame alignment pattern is counted. the number of the errors counted during the interval is reflected in the
29 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the red signal is declared when one or more out of sf/esf sync event occurs in 40ms. then the red signal will be indicated by the redd (b2, t1/j1-02fh). the yellow alarm, ais alarm and red alarm will be declared or cleared when the corresponding alarm signal is present or absent for a certain period as summarized in table - 7. the yellow alarm, ais alarm and red alarm are also the interrupt sources in the almd block. when the alarm occurs, the corresponding interrupt status register (yel, ais or red in b2, b0, b1 of t1/j1-02eh respectively) will indicate it. when there is any transition (from 0 to 1 or from 1 to 0) on the interrupt status register, its corresponding interrupt indication register (yeli, aisi or redi in b5, b3, b4 of t1/j1-02eh re- spectively) will be logic 1. a transition on the interrupt indication register can cause an interrupt on the int pin if the corresponding interrupt ena- bled register (yele, aise or rede in b2, b0, b1 of t1/j1-02dh re- spectively) is logic 1. 3.5 hdlc receiver (rhdlc) the hdlc extraction is performed in this block. the hdlc receiver #1, #2 and #3 in e1 mode or the hdlc receiver #1 and #2 in t1/j1 esf mode of each framer operate independently. 3.5.1 e1 mode three hdlc receiver blocks (#1, #2 and #3) are employed for each framer to extract the hdlc link from the received data stream. before selecting the hdlc link, the txcisel (b3, e1-00ah) should be set to 0. thus, the configuration of the link control and bits select registers (ad- dressed from 028h to 02dh) is for rhdlc. next, select one of the three hdlc receiver blocks by selecting the appropriate bits in the rhdlcsel[1:0] (b7~6, e1-00ah). the #2 and #3 blocks can also be disabled by setting the v52dis (b3, e1-007h). then the position of the hdlc link can be defined as follows: 1. set the dl_even (b7, e1-028h or b7, e1-02ah or b7, e1-02ch) and/or the dl_odd (b6, e1-028h or b6, e1-02ah or b6, e1-02ch) to select the even and/or odd frames (the even frames are fas frames while the odd frames are nfas frames); 2. set the dl_ts[4:0] (b4~0, e1-028h or b4~0, e1-02ah or b4~0, e1-02ch) to define the timeslot of the assigned frame (or to select the ts16_en (b5, e1-028h) to select the ts16 of the assigned frame); 3. set the dl_bit[7:0] (b7~0, e1-029h or b7~0, e1-02bh or b7~0, e1-02dh) to select the bits of the assigned timeslot. three hdlc standards for e1 are defined and one is selected as fol- lows: 1. common channel signaling (ccs) data link (extract the bits in the ts16); 2. v5.1 / v5.2 d-channel and c-channels (extract the bits in any timeslot except ts16); 3. sa-bit data link. all the functions of the selected hdlc receiver block can be ena- bled only if the en (b0, e1-048h) is set to logic 1. a normal hdlc packet consists of the following parts as shown in figure - 3: declaring clearing yellow alarm the yellow signal is present for 425ms ( 50ms) the yellow signal is absent for 425ms ( 50ms) ais alarm the ais signal is present for 1.5sec ( 100ms) the ais signal is absent for 16.8sec ( 500ms); or the ais signal is absent for 180ms if the fastd (b4, t1/j1-02dh) is set red alarm the red signal is present for 2.55sec ( 40ms) the red signal is absent for 16.6sec ( 500ms); or the red signal is absent for 120ms if the fastd (b4, t1/j1-02dh) is set table - 7. alarm summary in almd flag (7e) hdlc data one byte 01111110 fcs two bytes one byte 01111110 n bytes n 2 flag (7e) store in fifo (remove the stuffed zero) figure - 3. hdlc packet every hdlc packet starts with a 7e (hex) opening flag sequence and ends with the same flag. before the closing flag sequence, two bytes of crc-ccitt frame check sequences (fcs) are provided to check all the hdlc data. the received fcs will be compared with the local calculated fcs. a fifo buffer is used to store the hdlc packet, that is, to store the data whose stuffed zeros have been removed and the fcs. however, when the address matching is enabled, the first and/or second byte compares with the address setting in the pa[7:0] (b7~0, e1-04ch) and the sa[7:0] (b7~0, e1-04dh), and only the data matching the selection in the men (b3, e1-048h) and the mm (b2, e1-048h) are stored into the fifo. when address matching is disabled, all the hdlc data are stored. the first 7e opening flag which activates the hdlc link and the 7f (hex) abort sequence which deactivates the hdlc link will also be converted to dummy bytes and stored into the fifo regardless if the address is matching or not. these two types of flags will also assert the cols (b5, e1-04ah) to indicate the hdlc link status change. the content in the fifo is read in the rd[7:0] (b7~0, e1-04bh), and the status of the bytes will be reflected in the pbs[2:0] (b3~1, e1-04ah). both of these regis- ters (rd[7:0] (b7~0, e1-04bh) and pbs[2:0] (b3~1, e1-04ah)) can not be accessed at a rate greater than 1/15 of the xck rate. the depth of the fifo is 128 bytes. when the fifo is empty, the fe (b7, e1-04ah) will be set. if data are still written into the fifo when the fifo is already full, the fifo will be over-written. the over-written con- dition will be indicated by the ovr (b6, e1-04ah) and forces the fifo to be cleared. a logic 1 in the pkin (b4, e1-04ah) indicates a non-abort hdlc
30 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer packet was received. this bit (pkin) is set regardless of the status of the fcs condition or if there are an integer or non-integer number of bytes stored in the fifo. the hdlc packet can be forced to terminate for four reasons: 1. the 7f abort sequence is received; 2. more than 15 successive logic ones are received in the data stream; 3. set the tr (b1, e1-048h) to logic 1; 4. set the en (b0, e1-048h) from logic 1 to logic 0 and back to logic 1. all the above methods can deactivate the hdlc link immediately and the latter two means can also clean the fifo and interrupts. a new search for the 7e opening flag is also initiated. the interrupt sources in this block are: 1. receiving the first 7e opening flag sequence which terminates all ones data and activates the hdlc link; 2. receiving the 7e closing flag sequence; 3. receiving the abort sequence; 4. exceeding the set point of the fifo which is defined in the intc[6:0] (b6~0, e1-049); 5. over-writting the fifo. any one of the interrupt sources will assert the intr (b0, e1-04ah) high. then the int pin will be low to report the interrupt if the inte (b7, e1-049h) is logic 1. 3.5.2 t1 / j1 mode in the sf format, there is no hdlc link. in the esf format, two hdlc receiver blocks (#1 and #2) are em- ployed for each framer to extract the hdlc link. before selecting the hdlc link, the txcisel (b3, t1/j1-00dh) should be set to 0. thus, the configuration of the link control and bits select registers (addressed from 070h to 071h) is for the rhdlc. then, selected by the rhdlcsel[1:0] (b7~6, t1/j1-00dh), one of the two hdlc receiver blocks are accessable to the microprocessor. the hdlc#1 extracts the hdlc link in the dl of the f-bit (its position is shown in table - 4). the hdlc#2 extracts the hdlc link from one of the channels which position is selected as follows: 1. set the dl2_even (b7, t1/j1-070h) and/or the dl2_odd (b6, t1/j1-070h) to select the even and/or odd frames; 2. set the dl2_ts[4:0] (b4~0, t1/j1-070h) to select the channel of the assigned frame; 3. set the dl2_bit[7:0] (b7~0, t1/j1-071h) to select the bits of the assigned channel. all the functions of the selected hdlc receiver block can be ena- bled only if the en (b0, t1/j1-054h) is set to logic 1. the structure of the hdlc packet is the same as it is described in the e1 mode (refer to figure - 3). a fifo buffer is used to store the hdlc packet, that is, to store the data whose stuffed zeros have been removed and the fcs. however, when the address matching is enabled, the first and/or second byte compares with the address setting in the pa[7:0] (b7~0, t1/j1-058h) and the sa[7:0] (b7~0, t1/j1-059h) and only the data matching the se- lection in the men (b3, t1/j1-054h) and the mm (b2, t1/j1-054h) are stored into the fifo. when the address matching is disabled, the entire hdlc packet is stored. the first 7e opening flag which activates the hdlc link and the 7f abort sequence which deactivates the hdlc link will also be converted into dummy bytes and stored in the fifo. these two types of flags will also assert the cols (b5, t1/j1-056h) to indicate the hdlc link status change. the content in the fifo is read in the rd[7:0] (b7~0, t1/j1-057h), and the status of the bytes will be reflected in the pbs[2:0] (b3~1, t1/j1-056h). both of the two registers can?t be accessed at a rate greater than 1/15 of the xck rate. the depth of the fifo is 128 bytes. when the fifo is empty, the fe (b7, t1/j1-056h) will be set. if data are still written into the fifo when the fifo is already full, the fifo will be over-written. the over-written condition will be indicated by the ovr (b6, t1/j1-056h) and force the fifo to be cleared. a logic 1 in the pkin (b4, t1/j1-056h) indicates a non-abort hdlc packet was received whether there were fcs errors or non-integer number if bytes errors in it or not. the hdlc packet can be forced to terminate by four means: 1. the 7f abort sequence is received; 2. more than 15 successive logic ones are received in the data stream; 3. set the tr (b2, t1/j1-054h) to logic 1; 4. set the en (b1, t1/j1-054h) from logic 1 to logic 0 and back to logic 1. all the above methods can deactivate the hdlc link immediately and the latter two methods can also clear the fifo and interrupts. a new search for the 7e opening flag is also initiated. the interrupt sources in this block are: 1. receiving the first 7e opening flag sequence which terminates the all ones data and activates the hdlc link; 2. receiving the 7e closing flag sequence; 3. receiving the abort sequence; 4. exceeding the set point of the fifo which is defined in the intc[6:0] (b6~0, t1/j1-055h); 5. over-writting the fifo. any one of the interrupt sources will assert the intr (b0, t1/j1- 056h) high. then the int pin will be driven low to report the interrupt if the inte (b7, t1/j1-055h) is logic 1. 3.6 bit -oriented message receiver (rbom) - t1 / j1 onl y the bit oriented message (bom) can only be received in the esf format in t1/j1 mode. the standard of the bom is defined in ansi t1.403 and in tr-tsy-000194. this block of each framer operates inde- pendently. the bom pattern is ?111111110xxxxxx0? which occupies the dl of the f-bit in the esf format (refer to table-4). the six ?x?s represent the message. the bom is declared only when the pattern is matched and the received message is identical 4 out of 5 times or 8 out of 10 times. the identification time is selected by the avc (b1, t1/j1-02ah). after the bom is declared, the bom is loaded into the boc[5:0] (b5~0, t1/j1- 02bh). however, the bom does not include all ones code in both t1 and j1 mode. when the bom is converted into non-bom, the received data will be idle code. the pattern of the idle code is ?ffff? in t1 mode and ?ff7e? in j1 mode. when the received data is 4 out of 5 times or 8 out of 10 times identical with the pattern, the idle code is declared. the identifica- tion time is selected by the avc (b1, t1/j1-02ah). there are two interrupt sources in this block. when the bom is de- clared, the boci (b6, t1/j1-02bh) will indicate it. when the idle code is declared, the idlei (b7, t1/j1-02bh) will indicate it. if the boce (b0,
31 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1/j1-02ah) and idle (b2, t1/j1-02ah) are set to 1 respectively, the corresponding condition will cause an interrupt on the int pin. 3.7 inband loopback code detect or (ibcd) - t1 / j1 onl y the inband loopback code detector can track loopback activate/de- activate codes only in framed or unframed t1/j1 data stream. the inband loopback code detector of each framer operates independently. the received data stream is compared with the target activate/deacti- vate code whose length and the content are programmed in the asel[1:0] (b1~0, t1/j1-03ch) / dsel[1:0] (b3~2, t1/j1-03ch) and the act[7:0] (b7~0, t1/j1-03eh) / dact[7:0] (b7~0, t1/j1-03fh) respec- tively. in framed mode, the f-bit can be selected by the ibcd_idle (b5, t1/j1-000h) to compare with the target activate/deactivate code or not. in unframed mode, all 193 bits are compared with the target activate/de- activate code. whether the received data stream matches the target ac- tivate or deactivate code and repeats for a 39.8ms period, the lbacp (b7, t1/j1-03dh) or lbdcp (b6, t1/j1-03dh) will indicate the appear- ance of the corresponding code. 2, 20 or 200 bit-error tolerance within each 39.8ms period is permitted by setting the ibcd_err[1:0] (b5~4, t1/j1-03ch). however, even if the f-bit is compared, whether it is matched or not, the result will not cause bit errors, that is, the compari- son result of the f-bit is passed over. when the received data stream matches the target activate/deacti- vate code and repeats for 5.1 sec, the lba (b1, t1/j1-03dh) / lbd (b0, t1/j1-03dh) will indicate the detection of the inband loopback code. the code sequences detection and timing is compatible with the specifica- tions in t1.403, ta-tsy-000312 and tr-tsy-000303. the status changes of the activate or deactivate code are the inter- rupt sources in the ibcd block. that is, when the value in the status register (lba [b1, t1/j1-03dh] or lbd [b0, t1/j1-03dh]) changes, its corresponding interrupt indication register (lbai [b3, t1/j1-03dh] or lbdi [b2, t1/j1-03dh]) will be logic 1. a logic 1 on the interrupt indica- tion register will cause an interrupt on the int pin if the corresponding interrupt enable register (lbae [b5, t1/j1-03dh] or lbde [b4, t1/j1- 03dh]) is logic 1. 3.8 elastic store buffer (elsb) the elastic store buffer of each framer operates independently. 3.8.1 e1 mode in receive clock slave mode, a 2-basic-frame depth elastic store buffer is used to synchronize the incoming frames to the receive side system common clock derived from the rscck pin, and to the re- ceive side system common frame pulse derived from the rscfs pin. a write pointer is used to write the data to the elastic store buffer, while a read pointer is used to read the data from the elastic store buffer. when the average frequency of the incoming data is greater than the average frequency of the receive side system common clock (rscck), the write pointer will be faster than the read pointer and the elastic store buffer will be filled. so a frame will be deleted after its prior frame is read. when the read pointer crosses the frame boundary, a controlled slip will occur with a logic 1 indicated in the slipd (b1, e1- 059h). when the average frequency of the incoming data is less than the average frequency of the rscck, the write pointer will be slower than the read pointer and the elastic store buffer will be empty. the frame will be repeated after it is read. when the read pointer crosses the next frame boundary, a controlled slip will occur with a logic 0 indicated in the slipd (b1, e1-059h). when the slip occurs, the slipi (b0, e1-059h) will indicate. an inter- rupt on the int pin will also occur if the slipe (b2, e1-059h) is set to logic 1. in receive clock slave mode, if it is out of basic frame synchroniza- tion, the idle code programmed in the d[7:0] (b7~0, e1-05ah) in the elastic store buffer can be set to replace the data if the trken (b1, e1- 001h) is set to logic 1. in receive clock master mode, the elastic store buffer is bypassed unless the device is in the payload loopback diagnosis mode. (refer to payload loopback mode for details). 3.8.2 t1 / j1 mode in receive clock slave mode, a 2-basic-frame depth elastic store buffer is used to synchronize the incoming frames to the receive side system common clock derived from the rscck pin, and to the re- ceive side system common frame pulse derived from the rscfs pin. a write pointer is used to write the data to the elastic store buffer, while a read pointer is used to read the data from the elastic store buffer. when the average frequency of the incoming data is greater than the average frequency of the receive side system common clock (rscck), the write pointer will be faster than the read pointer and the elastic store buffer will be filled. so a frame will be deleted after its prior frame is read. when the read pointer crosses the frame boundary, a controlled slip will occur with a logic 1 indicated in the slipd (b1, t1/j1- 01dh). when the average frequency of the incoming data is less than the average frequency of the rscck, the write pointer will be slower than the read pointer and the elastic store buffer will be empty. the frame will be repeated after it is read. when the read pointer crosses the next frame boundary, a controlled slip will occur with a logic 0 indicated in the slipd (b1, t1/j1-01dh). when the slip occurs, the slipi (b0, t1/j1-01dh) will indicate. an in- terrupt on the int pin will also occur if the slipe (b2, t1/j1-01dh) is logic 1. in receive clock slave mode, if it is out of sf/esf sync, the idle code programmed in the d[7:0] (b7~0, t1/j1-01eh) in the elastic store buffer will replace the data of all channels automatically. in receive clock master mode, the elastic store buffer is bypassed unless the device is in the payload loopback diagnosis mode. (refer to payload loopback mode for details). 3.9 receive cas/rbs buffer (rcrb) the receive cas/rbs buffer of each framer operates independ- ently. 3.9.1 e1 mode in the signaling multi-frame synchronization condition, the signaling bits are located in ts16, which is channel associated signaling (cas). their arrangement in ts16 is shown in figure - 4. when the rsckn/rssign/mrssig[1:2] pins are used as the signaling output, i.e. in receive clock slave external signaling mode or in receive multiplex mode, the signaling codeword (abcd) are clocked out in the lower nibble of the timeslot with its corresponding data serializ- ing on the rsdn/mrsd[1:2] pins (as shown in the figure - 5).
32 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer channel 24 channel 1 channel 2 channel 24 a b c d rsdn/ mrsd[1:2] rssign/ mrssig[1:2] f 1 2 3 4 5 6 7 8 channel 1 f f-bit or parity f-bit or parity 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 a b c d a b c d a b c d a b c d figure - 6. signaling output in t1 / j1 mode when the coss (b6, e1-064h) is logic 1, all the coss[30:1] (b5~0, e1-064h and b7~0, e1-065h and b7~0, e1-066h and b7~0, e1-067h) in the receive cas/rbs buffer registers will reflect the change of the signaling of each timeslot respectively (excluding the ts0 and ts16). when the coss (b6, e1-064h) is logic 0, the receive cas/rbs buffer indirect registers (from 01h to 5fh of rcrb indirect registers) can be accessed by the microprocessor. the address of the indirect reg- ister is specified by the a[6:0] (b6~0, e1-066h). whether the data are read from or written into the specified indirect register is determined by the r/wb (b7, e1-066h) and the data are in the d[7:0] (b7~0, e1-067h). the indirect registers have a read/write cycle. before the read/write op- eration is completed, the busy (b7, e1-065h) will be set. new opera- tions on the indirect registers can only be implemented when the busy (b7, e1-065h) is cleared. the read/write cycle is 490ns. the indirect registers are divided into three segments: two segments (from 01h to 1fh & from 21h to 3fh) contain the signaling bits of each timeslot; another segment (from 40h to 5fh) contains the signaling debounce configuration of each timeslot. a three-signaling-multi-frame capacity buffer is used for signaling debounce and signaling freezing. signaling debounce can be set by the deb (b0, e1-rcrb-indirect registers - 41~5fh) which is activated by the pcce (b0, e1-064h). it updates the signaling bits only when 2 consecutive signaling of a timeslot are the same. signaling freeze will remain the signaling automatically when it is out of signaling multi-frame synchronization or in unframed mode. the signaling bits are extracted to the a, b, c, d (b3~0, e1-rcrb- indirect registers - 01~1fh or b3~0, e1-rcrb-indirect registers - 21~3fh). there is a maximum 2 ms delay between the transition of the coss[n] (e1-064h and e1-065h and e1-066h and e1-067h) and the 1 2 3 4 5 6 78 ts31 ts0 ts1 ts15 ts16 ts17 ts31 ts0 1 2 3 4 5 6 78 1 2 3 4 5 6 78 1 2 3 4 5 6 78 1 2 3 4 5 6 78 1 2 3 4 5 6 78 1 2 3 4 5 6 78 1 2 3 4 5 6 78 abcd abcd abcd abcd abcd rsdn/ mrsd[1:2] rssign/ mrssig[1:2] figure - 5. signaling output in e1 mode figure - 4. ts16 arrangement in signaling multi-frame a b c d a b c d to ts31 to ts15 a b c d a b c d to ts18 to ts2 a b c d a b c d to ts17 to ts1 f1 f2 f15 0 0 0 0 x y x x f0 signaling multi-frame alignment pattern rmai extra bits ts16
33 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer updating of the a, b, c, d code in the corresponding indirect registers (b3~0, e1-rcrb-indirect registers - 21~3fh). to avoid this 2 ms delay, users can read the corresponding b3~0 in the e1-rcrb-indirect regis- ters - (01~1fh) first. if the value of these four bits are different from the previous a, b, c, d code, then the content of b3~0 in the e1-rcrb-indi- rect registers - (01~1fh) is the updated a, b, c, d code. if the content of the four bits is the same as the previous a, b, c, d code, then users should read the b3~0 in the e1-rcrb-indirect registers - (21~3fh) to get the updated a, b, c, d code. any one of the 30-timeslot?s signaling change will cause an interrupt on the int pin if the sige (b5, e1-064h) is set. 3.9.2 t1 / j1 mode when the frame is synchronized, the signaling is located in the bit 8 of frame 6 (a bit) and frame 12 (b bit) in sf format, and is located in the bit 8 of frame 6 (a bit), frame 12 (b bit), frame 18 (c bit) and frame 24 (d bit) in esf format (refer to table-3 & 4). the sf/esf signaling format is selected by the esf (b2, t1/j1-040h). when the rsckn/rssign/mrssig[1:2] pins are used as the signaling output, i.e. in receive clock slave external signaling mode or in receive multiplex mode, the signaling codeword (ab or abcd) are clocked out in the lower nibble of the channel with its corresponding data serializing on the rsdn/mrsd[1:2] pins (as shown in the figure - 6). however, in sf format, the signaling c and d are the repitition of signaling a and b. when the coss (b6, t1/j1-040h) bit is logic 1, all the coss[24:1] (b7~0, t1/j1-041h and b7~0, t1/j1-042h and b7~0, t1/j1-043h) in the receive cas/rbs buffer registers will reflect the change of the signaling of each channel respectively. when the coss (b6, t1/j1-040h) bit is logic 0, the receive cas/ rbs buffer indirect registers (from 01h to 58h of rcrb indirect regis- ters) can be accessed by the microprocessor. the address of the indi- rect register is specified by the a[6:0] (b6~0, t1/j1-042h). whether the data are read from or written into the specified indirect register is deter- mined by the r/wb (b7, t1/j1-042h) and the data is in the d[7:0] (b7~0, t1/j1-043h). the indirect registers have a read/write cycle. before the read/write operation is completed, the busy (b7, t1/j1-041h) will be set. new operations on the indirect registers can only be done when the busy (b7, t1/j1-041h) is cleared. the read/write cycle is 650ns. the indirect registers are devided into three segments: two segments (from 01h to 18h & from 21h to 38h) contain the signaling bits of each channel; another segment (from 41h to 58h) contains the signaling debounce configuration of each channel. a three-superframe capacity buffer is used for signaling debounce and signaling freezing. signaling debounce can be set by the deb (b0, t1/j1-rcrb-indirect registers - 41~58h) which is activated by the pcce (b0, t1/j1-040h). it updates the signaling bits only when 2 consecutive sf/esf signaling bits of a channel are the same. signaling freeze will remain the signaling automatically when it is out of sf/esf sync or in unframed mode. the signaling bits are extracted to the a, b, c, d (b3~0, t1/j1- rcrb-indirect registers - 01~18h or b3~0, t1/j1-rcrb-indirect regis- ters - 21~38h). there is a maximum 2 ms delay between the transition of the coss[n] (t1/j1-041h and t1/j1-042h and t1/j1-043h) and the updat- ing of the a, b, c, d code in the corresponding indirect registers (b3~0, t1/j1-rcrb-indirect registers - 21~38h). to avoid this 2 ms delay, us- ers can read the corresponding b3~0 in the t1/j1-rcrb-indirect regis- ters - (01~18h) first. if the value of these four bits are different from the previous a, b, c, d code, then the content of b3~0 in the t1/j1-rcrb- indirect registers - (01~18h) is the updated a, b, c, d code. if the con- tent of the four bits is the same as the previous a, b, c, d code, then users should read the b3~0 in the t1/j1-rcrb-indirect registers - (21~38h) to get the updated a, b, c, d code. any one of the 24-channel?s signaling change will cause an interrupt on the int pin if the sige (b5, t1/j1-040h) is set. 3.10 receive p a yload control (rplc) different test patterns can be inserted in the received data stream or the received data stream can be extracted to the prbs generator/de- tector for test in this block. the receive payload control of each framer operates independently. 3.10.1 e1 mode to enable the test for the received data stream, the pcce (b0, e1- 05ch) must be set to activate the setting in the indirect registers (from 20h to 7fh of rplc indirect registers). the following methods can be executed for test on a per-ts basis: - selected by the prgdsel[2:0] (b7~5, e1-00ch), the received data of one of the eight framers will be extracted to the prbs generator/de- tector when the rxpatgen (b2, e1-00ch) is 0. the received data can be extracted in framed or unframed mode. the selection is made by the unf_det (b0, e1-00ch). in unframed mode, all the 32 timeslots are extracted and the per-timeslot configuration in the test (b7, e1-rplc- indirect registers - 20~3fh) is ignored. in framed mode, the received data will only be extracted on the timeslot configured by the test (b7, e1-rplc-indirect registers - 20~3fh). refer to the section of prbs genera t or / detect or (prgd) for details. - replace the data that will be output on the rsdn/mrsd pin with the value in the dtrk[7:0] (b7~0, e1-rplc-indirect registers - 40~5fh) when the dtrkc/nxts (b6, e1-rplc-indirect registers - 20~3fh) of the corresponding timeslot is logic 1. (when it is out of basic frame synchro- nization, the value in the dtrk[7:0] [b7~0, e1-rplc-indirect registers - 40~5fh] can replace the data automatically if the autooof [b1, e1- 000h] is set. or, when it is out of basic frame synchronization for 100ms, the value in the dtrk[7:0] [b7~0, e1-rplc-indirect registers - 40~5fh] can replace the data automatically if the autored (b2, 000h) is set. these two kinds of data replacements can be executed even if the pcce [b0, e1-05ch] is disabled and they replace all the timeslots.) - replace the data that will be output on the rsdn/mrsd pin with the -law or a-law milliwatt pattern when the dmw (b4, e1-rplc-indirect register - 20~3fh) of the corresponding timeslot is logic 1. (the milliwatt pattern is selectable between a-law and -law by the dmwalaw [b3, e1-rplc-indirect register - 20~3fh]. refer to table - 8 & table - 9.) - selected by the prgdsel[2:0] (b7~5, e1-00ch), the test pattern from the prbs generator/detector will replace the received data of one of the eight framers when the rxpatgen (b2, e1-00ch) is 1. the test pattern can replace the received data in framed or unframed mode. the selection is made by the unf_gen (b1, e1-00ch). in unframed mode, all 32 timeslots are replaced and the per-timeslot configuration in the test (b7, e1-rplc-indirect registers - 20~3fh) is ignored. in framed mode, the received data will only replace the timeslot configured by the test (b7, e1-rplc-indirect registers - 20~3fh). refer to the section of
34 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 8. a-law digital milliwatt pattern bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 0 0 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 1 0 1 0 0 0 0 1 1 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 table - 9. u-law digital milliwatt pattern bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 0 0 0 1 1 1 1 0 0 0 0 0 1 0 1 1 0 0 0 0 1 0 1 1 0 0 0 1 1 1 1 0 1 0 0 1 1 1 1 0 1 0 0 0 1 0 1 1 1 0 0 0 1 0 1 1 1 0 0 1 1 1 1 0 prbs genera t or / detect or (prgd) for details. - invert the most significant bit, the even bits and/or odd bits that will be output on the rsdn pin when the signinv and the rinv[1:0] (b2~0, e1-rplc-indirect registers - 20~3fh) of the corresponding timeslot is set. (the above methods are arranged from highest to lowest in priority.) - replace the signaling that will be output on the rssign pin with the value in the a, b, c, d (b3~0, e1-rplc-indirect registers - 61~7fh) when the strkc (b5, e1-rplc-indirect registers - 20~3fh) of the cor- responding timeslot allows. the data and signaling of all timeslots can be replaced with the set- ting in the dtrk[7:0] (b7~0, e1-rplc-indirect registers - 40~5fh) and the a, b, c, d (b3~0, e1-rplc-indirect registers - 61~7fh) respectively when the rxmtkc (b0, e1-001h) is set. to enable this function, pcce (b0, e1-05ch) must be set to 1. addressed by the a[6:0] (b6~0, e1-05eh), the data read from or writ- ten into the indirect registers are in the d[7:0] (b7~0, e1-05fh). the read or write operation is determined by the r/wb (b7, e1-05eh). the indirect registers have a read/write cycle. before the read/write operation is completed, the busy (b7, e1-05dh) will be set. new operations on the indirect registers can only be implemented when the busy (b7, e1- 05dh) is cleared. the read/write cycle is 490ns. 3.10.2 t1 / j1 mode to enable the test for the received data stream, the pcce (b0, t1/ j1-050h) must be set to activate the setting in the indirect registers (from 01h to 48h). the following methods can be used for test on a per- channel basis: - selected by the prgdsel[2:0] (b7~5, t1/j1-00fh), the received data of one of the eight framers will be extracted to the prbs genera- tor/detector when the rxpatgen (b2, t1/j1-00fh) is 0. the received data can be extracted in framed or unframed mode. the selection is made by the unf_det (b0, t1/j1-00fh). in unframed mode, all the 24 channels and the f-bit are extracted and the per-channel configuration in the test (b3, t1/j1-rplc-indirect registers - 01~18h) is ignored. in framed mode, the received data will only be extracted on the channel specified by the test (b3, t1/j1-rplc-indirect registers - 01~18h). fractional t1/j1 signal can also be extracted in the specified channel when the nx56k_det (b3, t1/j1-00fh) is set. refer to the section of prbs genera t or / detect or (prgd) for details. - replace the data that will be output on the rsdn/mrsd pin with the value in the dtrk[7:0] (b7~0, t1/j1-rplc-indirect registers - 19~30h) when the dtrkc (b6, t1/j1-rplc-indirect registers - 01~18h) of the corresponding channel is logic 1. (when it is out of sf/esf syn- chronization, the value in the dtrk[7:0] (b7~0, t1/j1-rplc-indirect registers - 19~30h) can replace the data automatically if the autooof (b1, t1/j1-000h) is set. or, when the red alarm is declared, the value in the dtrk[7:0] (b7~0, t1/j1-rplc-indirect registers - 19~30h) can re- place the data automatically if the autored (b2, t1/j1-000h) is set. these two kinds of data replacements can be executed even if the pcce (b0, t1/j1-050h) is disabled and they replace all the channels.) - replace the data that will be output on the rsdn/mrsd pin with the milliwatt pattern when the dmw (b5, t1/j1-rplc-indirect register - 01~18h) of the corresponding channel allows. (the milliwatt is -law. refer to table - 9.) - selected by the prgdsel[2:0] (b7~5, t1/j1-00fh), the test pat- tern from the prbs generator/detector will replace the received data of one of the eight framers when the rxpatgen (b2, t1/j1-00fh) is 1. the test pattern can replace the received data in framed or unframed mode. the selection is made by the unf_gen (b1, t1/j1-00fh). in unframed mode, all the 24 channels and the f-bit are replaced and the per-channel configuration in the test (b3, t1/j1-rplc-indirect regis- ters - 01~18h) is ignored. in framed mode, the received data will only be replaced on the channel specified by the test (b3, t1/j1-rplc-indirect registers - 01~18h). fractional t1/j1 signal can also be replaced in the specified channel when the nx56k_gen (b4, t1/j1-00fh) is set. refer to the section of prbs genera t or / detect or (prgd) for details. - invert the most significant bit and/or the other bits in a channel that will be output on the rsdn/mrsd pin when the signinv and the in- vert (b4 & b7, t1/j1-rplc-indirect registers - 01~18h) of the corre- sponding channel are set. - fix the signaling bit with the value in the pol (b0, t1/j1-rplc-indi- rect registers - 01~18h) when the fix (b1, t1/j1-rplc-indirect registers - 01~18h) of the corresponding channel is logic 1. (the above methods are arranged from highest to lowest in priority.) - replace the signaling that will be output on the rssign/mrssig pin with the value in the a, b, c, d (b3~0, t1/j1-rplc-indirect registers - 31~48h) when the strkc (b7, t1/j1-rplc-indirect registers - 31~48h) of the corresponding channel is logic 1. the data and signaling of all channels can be replaced with the set- ting in the dtrk[7:0] (b7~0, t1/j1-rplc-indirect registers - 19~30h) and the a, b, c, d (b3~0, t1/j1-rplc-indirect registers - 31~48h) re- spectively when the imtkc (b0, t1/j1-001h) is set. to enable this func- tion, the pcce (b0, t1/j1-050h) must be set to 1.
35 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer addressed by the a[6:0] (b6~0, t1/j1-052h), the data read from or written into the indirect registers are in the d[7:0] (b7~0, t1/j1-053h). the read or write operation is determined by the r/wb (b7, t1/j1- 052h). before the read/write operation is completed, the busy (b7, t1/ j1-051h) will be set. new operations on the indirect registers can only be implemented when the busy (b7, t1/j1-051h) is cleared. the read/ write cycle is 650ns. 3.1 1 receive system interf ace (resi) the receive system interface determines how to output the received data to the system back-plane. the data from the eight framers can be aligned with each other or be output independently. the timing clocks and framing pulses can be provided by the system back-plane common to eight framers, or obtained from the far end of the individual eight fram- ers. the receive system interface supports various configurations to meet various requirements in different applications. 3.1 1.1 e1 mode in e1 mode, the receive system interface can be set in non- multiplexed mode or multiplexed mode. in non-multiplexed mode, the rsdn pin is used to output the received data from each framer at the bit rate of 2.048 mb/s. while in the multiplexed mode, the received data from the eight framers are byte interleaved to form two high speed data streams and output on the mrsd1 and mrsd2 pins at the bit rate of 8.192 mb/s. in the non-multiplexed mode, if the timing signal for clocking data on rsdn pin is provided by the system side and shared by all eight framers, the receive system interface should be set in receive clock slave mode. if the timing signal for clocking data on each rsdn pin is received from each line side, the receive system interface should be set in receive clock master mode. in the receive clock slave mode, if the multi-function pin rsckn/ rssign is used to output a reference clock, the receive system interface is in receive clock slave rsck reference mode. if the rsckn/rssign pin is used to output the extracted signaling bits, the receive system interface is in receive clock slave external signaling mode. in the receive clock master mode, if the data in all 32 timeslots in an e1 basic frame is clocked out by the rsckn, the receive system interface is in receive clock master full e1 mode. if the data in only some of the timeslots in an e1 frame are clocked out by the rsckn, then the receive system interface is in receive clock master fractional e1 (with f-bit) mode. table - 10 summarizes the receive system interface in different operation modes. to set the receive system interface of each framer into various operation modes, the registers must be configured as table - 11. operation mode data pin clock pin framing pin signaling pin reference clock non- clock slave rsck reference rsdn rscck rscfs & rsfsn * no rsckn multiplexed mode external signaling rsdn rscck rscfs & rsfsn * rssign no mode clock master full e1 rsdn rsckn rsfsn no no mode fractional e1 (with f-bit) rsdn rsckn rsfsn no no multiplexed mode mrsd mrscck mrscfs & mrsfs * mrssig no rate[1:0] (b1~0, e1 - 010h) rsckslv (b5, e1 - 010h) rssig_en (b6, e1 - 001h) fractn[1:0] (b7~6, e1 - 010h) operation mode 0 - receive clock slave rsck reference 1 1 - receive clock slave external signaling 00 receive clock master full e1 10 r eceive clock master fractional e1 01 0 - 11 receive clock master fractional e1 with f - bit 11 (all the eight framers should be set) 1 1 - receive multiplexed table - 10. e1 mode receive system interface in different operation modes table - 11. operation mode selection in e1 receive path note: * in receive clock slave mode and receive multiplexed mode, there are two framing signals. in receive clock slave mode, the framing pulses on rscfs can be ignored for some framers by setting the fpmode (b5, e1-011h) to 0. however, in receive multiplexed mode, when the fpmode (b5, e1-011h) of any of the eight framers is configured as logic 1, all the others are taken as logic 1. only when all the fpmode (b5, e1-011h) of the eight framers are configured as logic 0, the frame pulses on mrscfs can be ignored. that is, the fpmode (b5, e1-011h) should be configured to the same value in receive multiplexed mode.
36 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.11.1.1.1 receive clock slave rsck reference mode in this mode (refer to figure - 7), the data on the system interface is clocked by the rscck. the active edge of the rscck to sample the pulse on the rscfs or to update the data on the rsdn and rsfsn pins is determined by the following bits in the registers (refer to table - 12). 3.11.1.1 receive clock slave mode in the receive clock slave mode, the receive side system common clock (rscck) is provided by the system side. it is used as a common timing clock for all eight framers. the speed of the rscck can be selected by the cms (b2, e1-010h) to be the same as the received data (2.048mhz), or double of the received data (4.096 mhz). the cms (b2, e1-010h) of the eight framers should be set to the same value. if the speed of the rscck is double that of the received data stream, there will be two active edges in one bit duration. in this case, the rsd_rscfs_edge (b5, e1-014h) determines the active edge to update the signal on the rsdn, rssign and rsfsn pins; however, the pulse on the rscfs (if exists) is always samples on its first active edge. in the receive clock slave mode, the receive side system common frame pulse (rscfs) is used as a common framing signal to align the data streams for all eight framers. the rscfs asserts on each basic frame and its valid polarity is configured by the fpinv (b6, e1-011h). the framing signals on rscfs can also be ignored by setting the fpmode (b5, e1-011h) to 0. in the receive clock slave mode, the bit rate on the rsdn pin is 2.048mb/s. in the receive clock slave mode, the receive side system frame pulse (rsfsn) can be configured by the perts_rsfs (b3, e1-00eh) and ref_mrsfs (b2, e1-00eh) to output all zeros, to indicate the frame position or to output the same pulse as the rscfs. when it is defined to indicate the frame position, it can indicate the first bit of a basic frame, signaling multi-frame, crc-multiframe, or both the signaling and crc-multiframe. this selection is made by the rohm, brxsmfp, brxcmfp, altifp (b3, b2, b1, b0, e1-011h). when the rsfsn is for framing pulse indication, the valid polarity of it is configured by the fpinv (b6, e1-011h). in this case, if the fpmode (b5, e1-011h) is low, the rsfsn can only indicate the basic frame no matter what the setting in the rohm, brxsmfp, brxcmfp, altifp (b3, b2, b1, b0, e1-011h). the receive clock slave mode includes two sub-modes: receive clock slave rsck reference mode and receive clock slave external signaling mode. receive system interface frame processor rscck rscfs * rsck[1:8] lrck[1:8] lrd[1:8] receiver note: * rscfs, rsd, rsfs are timed to rscck dpll fifo rsd[1:8] * rsfs[1:8] * divider 8khz elastic store figure - 7. receive clock slave rsck reference mode bit determining the active edge of the rscck rscfs rsfsn fe (b3, e1 - 010h) rsdn de (b4, e1 - 010h) note: if the setting of the fe (b3, e1 - 010h) and de (b4, e1 - 010h) is different, the rsfsn will be one clock edge ahead of rsdn. the fe (b3, e1 - 01 0h) of the eight framers should be set to the same value to ensure the rscfs for the eight framers is sampled on the same active edge. note: there is a special case when the cms (b2, e1 - 010h) is logic 1 and the de (b4, e1 - 010h) is equal to fe (b3, e1 - 010h). the rsd_rscfs_edge (b5, e1 - 014h) is invalid and the signal on the rsdn and the rsfsn pins are updated on the first active edge of rscck. table - 12. active edge selection of rscck (in e1 receive clock slave rsck reference mode) figure - 8 & 9 show the functional timing examples. bit 1 of each timeslot is the first bit to be output. besides all the common functions described in the receive clock slave mode, the special feature in this mode is that the multi-functional pin rsckn/rssign is used as rsckn to output a reference clock. the rsckn can be selected by the rscksel (b5, e1-001h) to output a jitter attenuated 2.048mhz (i.e., smoothed lrckn) or 8khz clock (smoothed lrckn divided by 256).
37 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer figure - 8. e1 receive clock slave rsck reference mode - functional timing example 1 the cms (b2, e1-010h) is logic 0, i.e., the backplane clock rate is 2.048mbit/s. the de (b4, e1-010h) is logic 0 and the fe (b3, e1-010h) is logic 0. the timeslot offset and the bit offset enable are both 0: ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rscck rscfs rsdn rsfsn (the rsckn is selected by the rscksel (b5, e1-001h) to output a jitter attenuated 2.048mhz (i.e., smoothed lrckn) or 8khz clock (smoothed lrckn divided by 256).) the cms (b2, e1-010h) is logic 1, i.e., the backplane clock rate is 4.096mbit/s. the de (b4, e1-010h) is logic 0 and the fe (b3, e1-010h) is logic 1. ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rscck rscfs rsdn ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsdn when the rsd_rscfs_edge (b5, e1-014h) is logic 1: when the rsd_rscfs_edge (b5, e1-014h) is logic 0: rsfsn (the rsckn is selected by the rscksel (b5, e1-001h) to output a jitter attenuated 2.048mhz (i.e., smoothed lrckn) or 8khz clock (smoothed lrckn divided by 256).) figure - 9. e1 receive clock slave rsck reference mode - functional timing example 2
38 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer receive system interface frame processor rscck rscfs * rssig[1:8] * lrck[1:8] lrd[1:8] receiver note: * rscfs, rsd, rssig, rsfs are timed to rscck dpll fifo rsd[1:8] * rsfs[1:8] * elastic store figure - 10. receive clock slave external signaling mode bit determining the active edge of the rscck rscfs rsfsn fe (b3, e1 - 010h) rsdn rssign de (b4, e1 - 010h) note: if the setting of the fe (b3, e1 - 010h) and de (b4, e1 - 010h) is different, the rsfsn will be one clock edge ahead of rsdn. the fe (b3, e1 - 010h) of the eight framers should be set to the same value to ensure the rscfs for the eight framers is sampled on the same active edge. there is a special case when the cms (b2, e1 - 010h) is logic 1 and the de (b4, e1 - 010h) is equal to fe (b3, e1 - 010h). the rsd_rscfs_edge (b5, e1 - 014h) is invalid and the signal on the rsdn, rssign and rsfsn pins are updated on the first active edge of rscck. table - 13. active edge selection of rscck (in e1 receive clock slave external signaling mode) 3.11.1.1.2 receive clock slave external signaling mode in this mode (refer to figure - 10), the data on the system interface is clocked by the rscck. the active edge of the rscck used to sample the pulse on the rscfs or to update the data on the rsdn, rsfsn and rssign is determined by the following bits in the registers (refer to ta- ble - 13). figure - 11 & 12 show the functional timing examples. bit 1 of each timeslot is the first bit to be output. besides all the common functions described in the receive clock slave mode, the special feature in this mode is that the multi-functional pin rsckn/rssign is used as rssign to output the extracted signaling bits. the extracted signaling bits are timeslot aligned with the data on the rsdn pin (refer to figure - 5). in the out of signaling multi-frame condition, the output signaling bits abcd on the rssign pin can be forced to be all ones if the oosmfais (b2, e1-001h) is set to 1. the cms (b2, e1-010h) is logic 0, i.e., the bankplane rate is 2.048mbit/s. the de (b4, e1-010h) is logic 1 and the fe (b3, e1-010h) is logic 0. the timeslot offset and the bit offset enable are both 0: ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rscck rscfs rsdn p x x x x x x x x x x x a b x x x x a b c d rssign rsfsn (the 'x' represents the filled bits and has no meaning. the 'p' represents the parity bit..) figure - 11. e1 receive clock slave external signaling mode - functional timing example 1
39 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the cms (b2, e1-010h) is logic 1, i.e., the bankplane rate is 4.096mbit/s. the de (b4, e1-010h) is logic 1 and the fe (b3, e1-010h) is logic 1. * the timeslot offset and the bit offset enable are both 0: ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rscck rscfs rsdn p x x x x x x x x x x x a b x x x x a b c d rssign rsfsn note: * it is a special case when the cms (b2, e1-010h) is logic 1 and the de (b4, e1-010h) is equal to fe (b3, e1-010h). the signal on the rsdn, rssign and rsfsn are updated on the first active edge of rscck. (the 'x' represent the filled bits and has no meaning. the 'p' represents the parity bit..) figure - 12. e1 receive clock slave external signaling mode - functional timing example 2 3.11.1.2 receive clock master mode in the receive clock master mode, each framer uses its own clock signal on rsckn pin and framing signal on rsfsn pin to output the data on each rsdn pin. as the common framing signal rscfs is not used, the fpmode bit (b5, e1-011h) must be set to 0. in the receive clock master mode, the bit rate on the rsdn pin is 2.048mb/s. in the receive clock master mode, the rsfsn can be configured by the perts_rsfs (b3, e1-00eh) and ref_mrsfs (b2, e1-00eh) to output all zeros, to indicate the frame position or to output the same pulse as the rscfs. when it is defined to indicate the frame position, it can indicate the first bit of a basic frame, signaling multi-frame, crc- multiframe, or both the signaling and crc-multiframe. this selection is made by the rohm, brxsmfp, brxcmfp, altifp (b3, b2, b1, b0, e1-011h). when the rsfsn is used for framing pulse indication, the valid polarity of it is configured by the fpinv (b6, e1-011h). in this case, if the fpmode (b5, e1-011h) is low, the rsfsn can only indicate the basic frame no matter what the setting in the rohm, brxsmfp, brxcmfp, altifp (b3, b2, b1, b0, e1-011h). in the receive clock master mode, the data on the system interface is clocked by the rsckn. the active edge of the rsckn used to update the data on the rsdn and rsfsn is determined by the de (b4, e1- 010h) and the fe (b3, e1-010h) respectively as shown in table - 14. the receive clock master mode includes two sub-modes: receive clock master full e1 mode and receive clock master fractional e1 (with f-bit) mode. 3.11.1.2.1 receive clock master full e1 mode besides all the common functions described in the receive clock master mode, the special feature in this mode (refer to figure - 13) is that the rsckn is a standard 2.048mhz clock, and the data in all 32 timeslots in a standard e1 frame is clocked out by the rsckn. figure - 14 shows the functional timing examples. bit 1 of each timeslot is the first bit to be output. the bit determining the active edge of the rsckn rsfsn fe (b3, e1 - 010h) rsdn de (b4, e1 - 010h) note: if the setting in the fe (b3, e1 - 010h) and de (b4, e1 - 010h) is different, the rsfsn will be one clock edge ahead of rsdn. table - 14. active edge selection of rsck (in e1 receive clock master mode)
40 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer receive system interface frame processor dpll rsd[1:8] * rsfs[1:8] * rsck[1:8] lrck[1:8] lrd[1:8] receiver note: * rsd, rsfs are timed to rsck fifo figure - 13. receive clock master full e1 or t1/j1 mode ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsckn rsfsn rsdn ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsfsn rsdn ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsfsn rsdn when the de (b4, e1-010h) is logic 1 and the fe (b3, e1-010h) is logic 1: ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsfsn rsdn when the de (b4, e1-010h) is logic 0 and the fe (b3, e1-010h) is logic 1: when the de (b4, e1-010h) is logic 1 and the fe (b3, e1-010h) is logic 0: when the de (b4, e1-010h) is logic 0 and the fe (b3, e1-010h) is logic 0: rsck is 2.048m: figure - 14. e1 receive clock master full e1 mode - functional timing example
41 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer bit determining the active edge of the mrscck mrscfs mrsfs fe (b3, e1 - 010h) mrsd mrssig de (b4, e1 - 010h) note: if the setting in the fe (b3, e1 - 010h) and de (b4, e1 - 010h) is different, the mrsfs will be one clock edge ahead of mrsd. the f e (b3, e1 - 010h) and de (b4, e1 - 010h) of all eight framers should be configured to the same value. there is a special case when the cms (b2, e1 - 010h) is logic 1 and the de (b4, e1 - 010h) is equal to fe (b3, e1 - 010h). the rsd_rscfs_edge (b5, e1 - 014h) is invalid and the signal on the mrsd, mrssig and mrsfs pins are updated on the first active edge of mrscck. table - 15. active edge selection of mrscck (in e1 receive multiplexed mode) receive system interface frame processor rsd[1:8] * rsfs[1:8] * rsck[1:8] lrck[1:8] lrd[1:8] receiver note: * rsd, rsfs are timed to gapped rsck dpll fifo figure - 15. receive clock master fractional e1 or t1/j1 mode 3.11.1.2.2 receive clock master fractional e1 (with f-bit) mode besides all the common functions described in the receive clock master mode, the special feature in this mode (refer to figure - 15) is that the rsckn is a gapped 2.048mhz clock (no clock signal during the selected timeslot). in the receive clock master fractional e1 mode, the rsckn is gapped during those timeslots with their dtrkc/nxts (b6, e1-rplc-in- direct register - 20~3fh) in receive payload control are logic 1. it clocks out during those timeslots with their dtrkc/nxts_idle (b6, e1- rplc-indirect register - 20~3fh) set to logic 0. the data in the corre- sponding gapped timeslot is a don?t-care. figure - 16 shows the func- tional timing examples. bit 1 of each timeslot is the first bit to be output. the receive clock master fractional e1 with f-bit mode supports itu recommendation g.802 where an e1 clock is output as a 193-bit t1 clock. in this mode, the rsckn that starts from the 2nd bit of ts26 and ends at the last bit of the same basic frame are gapped, and the ts16 is also gapped. thus, the dtrkc/nxts (b6, e1-rplc-indirect register - 20~3fh) of the timeslots of which the clock are gapped are invalid. the gapping of the remaining timeslots is still determined by the dtrkc/ nxts (b6, e1-rplc-indirect register - 20~3fh), and the data in the cor- responding gapped timeslot is a don't-care. 3.11.1.3 receive multiplexed mode in this mode (refer to figure - 17), two multiplexed buses are used to receive the data from all eight framers. the data from up to four framers is byte-interleaved and output on one of the two multiplexed buses. the multiplexed bus is selected by the mrbs (b4, e1-001h). when the data from four framers are output on one multiplexed bus, the sequence of data is arranged by setting the timeslot offset tsoff[6:0] (b6~0, e1- 013h). the data from different framers on one multiplexed bus must be shifted by a different timeslot offset to avoid data mixing. then the re- ceived data of each framer can be controlled by the mrbc (b3, e1- 001h) to output to the selected multiplexed bus or not. in the receive multiplexed mode, the data on the system interface are clocked by the mrscck. the active edge of the mrscck to sam- ple the pulse on the mrscfs and to update the data on the mrsd, mrsfs and mrssig are determined by the following bits in the regis- ters (refer to table - 15). in the receive multiplexed mode, the multiplexed receive side system common clock (mrscck) is provided by the system side. it is used as a common timing clock for all eight framers. the frequency of the rscck can be selected by the cms (b2, e1-010h) to be the same as the bit rate of the received data stream (8.192mb/s), or double the bit rate of the received data stream (16.384 mb/s). if the frequency of the rscck is double the bit rate of the received data stream, there will be two active edges in one bit time. in this case, the rsd_rscfs_edge (b5, e1-014h) determines the active edge to update the signal on the mrsd, mrssig and mrsfs pin; however, the pulse on the mrscfs (if it exists) is always samples on its first active edge. however, if the cms (b2, e1-010h) or the rsd_rscfs_edge (b5, e1-014h) of any of the eight framers is configured as logic 1, all the others are taken as logic 1. that is, the cms (b2, e1-010h) and the rsd_rscfs_edge (b5, e1-014h) of the eight framers should be configured to the same value in the receive multiplexed mode. in the receive multiplexed mode, the multiplexed receive side system common frame pulse (mrscfs) is used as a common framing signal to align the data streams on the two multiplexed buses. the mrscfs asserts on each first bit of basic frame of the selected first framer. the valid polarity of the mrscfs is configured by the fpinv (b6, e1-011h). the framing signals on mrscfs can also be ignored by setting the fpmode (b5, e1-011h) to 0. the fpinv (b6, e1- 011h) and the fpmode (b5, e1-011h) of the eight framers should be set to the same value. in the receive multiplexed mode, the bit rate on the mrsd pin is 8.192mb/s. in the receive multiplexed mode, the mrsfs can be configured by the perts_rsfs (b3, e1-00eh) and ref_mrsfs (b2, e1-00eh) to output all zeros, to indicate the frame position or to output the same
42 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ts31 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsckn rsfsn rsdn don't care ts31 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsckn rsfsn rsdn don't care ts31 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsckn rsfsn rsdn don't care ts31 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 rsckn rsfsn rsdn don't care when the de (b4, e1-010h) is logic 1 and the fe (b3, e1-010h) is logic 1: when the de (b4, e1-010h) is logic 0 and the fe (b3, e1-010h) is logic 1: when the de (b4, e1-010h) is logic 1 and the fe (b3, e1-010h) is logic 0: when the de (b4, e1-010h) is logic 0 and the fe (b3, e1-010h) is logic 0: rsck is 2.048m. in this example, rsck is supposed to be held in an inactive state during ts0. figure - 16. e1 receive clock master fractional e1 mode - functional timing example
43 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pulse as the mrscfs. the perts_rsfs (b3, e1-00eh) and ref_mrsfs (b2, e1-00eh) of the eight framers should be set to the same value. when it is defined to indicate the frame position, it can only indicate the first bit of a basic frame of the selected first framer no matter what is set in the rohm, brxsmfp, brxcmfp, altifp (b3, b2, b1, b0, e1-011h). when the mrsfs is for framing pulse indication, the valid polarity of it is configured by the fpinv (b6, e1-011h). the fpinv (b6, e1-011h) of the eight framers should be set to the same value. in the receive multiplexed mode, the mrssig outputs extracted signaling. the extracted signaling bits are timeslot aligned with the data outputted on the mrsd. in the out of signaling multi-frame condition, the output signaling abcd on the mrssig pin can be forced to be all ones if the oosmfais (b2, e1-001h) is set. figure - 18 & 19 show the functional timing examples. bit 1 of each timeslot is the first bit to be output. 3.11.1.4 parity check & polarity fix in all the above modes except for the receive clock slave fractional e1 (with f-bit) mode, if the rptye (b6, e1-012h) is logic 1, parity check can be conducted over the bits in the previous basic frame and the re- sult is inserted into the first bit (msb) of ts0 on rsdn/mrsd pin. the even parity or odd parity is selected by the rptyp (b7, e1-012h) and mrssig[1:2] * mrsd[1:2] * mrsfs[1:2] * receive system interface frame processor dpll fifo the other four of the framer #1~#8 dpll frame processor dpll fifo frame processor dpll fifo elastic store any four of the framer #1~#8 lrd[1:8] lrck[1:8] mrscck mrscfs * note: * mrscfs, mrsd, mrsfs, mrssig are timed to mrscck figure - 17. receive multiplexed mode 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 3 4 5 6 7 8 2 1 1 4 5 6 1 2 3 7 8 8 7 framer1_ts0 framer2_ts0 framer3_ts0 framer4_ts0 framer1_ts1 a b d a b c d a b c d a b c d a b c d d c x x x x x x x x x x x x x x x x x x x x c mrscck mrscfs mrsfs mrsd mrssig the cms (b2, e1-010h) is logic 0, i.e., the bankplane rate is 8.192mbit/s. the de (b4, e1-010h) is logic 1 and the fe (b3, e1-010h) is logic 0. in this example, framer1 to framer4 are supposed to be multiplexed to one multiplexed bus. when the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the boff_en of the four framers are set to logic 0: (the 'x' represent the filled bits and has no meaning.) figure - 18. e1 receive multiplexed mode - functional timing example 1
44 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 3 4 5 6 7 8 2 1 1 4 5 6 1 2 3 7 framer1_ts0 framer2_ts0 framer3_ts0 framer4_ts0 framer1_ts1 a b c d a b c d a b c d a b c d a b c d 8 d 8 7 c x x x x x x x x x x x x x x x x x x x x mrscck mrscfs mrsfs mrsd mrssig the cms (b2, e1-010h) is logic 1, i.e., the bankplane rate is 16.384mbit/s. the de (b4, e1-010h) is logic 0 and the fe (b3, e1-010h) is logic 0. in this example, framer1 to framer4 are supposed to be multiplexed to one multiplexed bus. when the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the boff_en of the four framers are set to logic 0: (the 'x' represent the filled bits and has no meaning.) whether the first bit of ts0 is calculated or not is determined by the pty_extd (b3, e1-012h). alternatively this first bit of ts0 can be forced to be logic 0 or 1 by setting the value in the fixpol (b4, e1- 012h), when the fixf (b5, e1-012h) is set. the priority of the fixf (b5, e1-012h) is lower than the rptye (b6, e1-012h). 3.11.1.5 offset in the above five modes, timeslot offset and/or bit offset can be configured. if the offset is configured, the offset between different opera- tion modes is summarized in table - 16. bit offset is disabled when the cms (b2, e1-010h) is logic 1. the timeslot offset is configured in the tsoff[6:0] (b6~0, e1-013h). the tsoff[6:0] (b6~0, e1-013h) give a binary representation. enabled by the boff_en (b3, e1-014h), the bit offset is configured in the boff[2:0] (b2~0, e1-014h). the bit offset follows the concentra- tion highway interface (chi) specification (refer to table - 17 & 18). when the bit offset is between the rscfs/mrscfs and the start of the corresponding frame on the rsdn/mrsd, the cet (clock edge trans- mit) is counted from the active edge of the rscfs/mrscfs (refer to the example in figure - 20). the pulse on the rsfsn/mrsfs and the signal on the rssign/mrssig (if it exists) are aligned to the rsdn/ mrsd. when the bit offset is between the rsfsn/mrsfs and the start of the corresponding frame on the rsdn/mrsd, the cet is counted from the active edge of the rsfsn/mrsfs (refer to the example in fig- ure - 21). the signal on the rssign/mrssig (if it exists) is aligned to the rsdn/mrsd. note that it is a special case when the brxsmfp and the altifp (b2, b0, e1-011h) are both set to logical 1. in this case, there is bit off- set between the output on the rsfsn and rsdn . refer to table - 19 for the details. figure - 19. e1 receive multiplexed mode - functional timing example 2 3.11.1.6 output on rsdn/mrsd & rssign/mrssig in all the five modes, the rsdn/mrsd and the rssign/mrssig pin can be configured by the tri[1:0] (b1~0, e1-012h) of the corresponding framer to be in high impedance state or to output the processed data stream. the data output on the rsdn/mrssig pin can also be forced to be all ones, and the signaling output on the rssign/mrssig pin (if it ex- ists) can be forced to be frozen at the current valid signaling when the rais (b1, e1-007h) is set.
45 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer boff_en (b3, e1 - 014h) fpmode (b5, e1 - 011h) de (b4, e1 - 010h) & fe (b3, e1 - 010h) bit offset between the rsfsn and the rsdn same 1 bit offset. rsfsn is ahead. 0 x difference 1.5 bit offset. rsfsn is ahead. same 1 bit offset. rsfsn is ahead. 1 diffe rence 1.5 bit offset. rsfsn is ahead. same 1 0 difference chi specification (table ? 17) table - 19. bit offset between rsfsn and rsdn when the brxsmfp and the altifp (b2, b0, e1-011h) are both set to logical 1 fe de boff[2:0] (b2~0, e1-014h) (b3, e1-010h) (b4, e1-010h) 000 001 010 011 100 101 110 111 0 0 4 6 8 10 12 14 16 18 0 1 3 5 7 9 11 13 15 17 cet 1 0 3 5 7 9 11 13 15 17 1 1 4 6 8 10 12 14 16 18 table - 17. receive system interface bit offset (fpmode [b5, e1-011h] = 0) table - 18. receive system interface bit offset (fpmode [b5, e1-011h] = 1) fe de boff[2:0] (b2~0, e1-014h) (b3, e1-010h) (b4, e1-010h) 000 001 010 011 100 101 110 111 0 0 2 4 6 8 10 12 14 16 0 1 1 3 5 7 9 11 13 15 cet 1 0 1 3 5 7 9 11 13 15 1 1 2 4 6 8 10 12 14 16 operation mode fpmode (b5, e1 - 011h) offset 1 the offset is between the rscfs and the start of the corresponding frame on the rsdn (and rssign). receive clock slave mode 0 the offset is between the rsfsn and the start of the corresponding frame on the rs dn (and rssign). receive clock master mode 0 (must be zero) the offset is between the rsfsn and the start of the corresponding frame on the rsdn. 1 (in any of the eight framers) the offset is between the mrscfs and the start of the corresponding frame on the mrsd and mrssig. receive multiplexed mode 0 the offset is between the mrsfs and the start of the corresponding frame on the mrsd and mrssig. table - 16. offset in different operation modes
46 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 for example: when de (b4, e1-010h) = 1, fe (b3, e1-010h) = 0 rsfsn rscck/rsckn rsdn the bit offset is 0: ts31 ts0 ts2 the bit offset is set as: boff_en (b3, e1-014h) = 1, boff[2:0] (b2~0, e1-014h) = 001; i.e. the cet = 3: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 ts31 ts0 ts2 starting edge (cet=0) 1 2 cet=3 rsdn figure - 21. receive bit offset - between rsfsn & rsdn 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 for example: when de (b4, e1-010h) = 0, fe (b3, e1-010h) = 0 rscfs rscck rsdn the bit offset is 0: ts31 ts0 ts2 the bit offset is set as: boff_en (b3, e1-014h) = 1, boff[2:0] (b2~0, e1-014h) = 000; i.e. the cet = 4: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 ts31 ts0 ts2 starting edge (cet=0) 1 2 3 cet=4 rsdn figure - 20. receive bit offset - between rscfs & rsdn
47 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.1 1.2 t1 / j1 mode in t1/j1 mode, the receive system interface can be set in non- multiplexed mode or multiplexed mode. in non-multiplexed mode, the rsdn pin is used to output the received data from each framer at the bit rate of 1.544 mb/s or 2.048 mb/s (t1/j1 mode e1 rate). while in the multiplexed mode, the received data from the eight framers are converted to 2.048 mb/s format and byte interleaved to form two high speed data streams and output on the mrsd1 and mrsd2 pins at the bit rate of 8.192 mb/s. in the non-multiplexed mode, if the timing signal for clocking data on the rsdn pin is provided by the system side and shared by all eight framers, the receive system interface should be set in receive clock slave mode. if the timing signal for clocking data on each rsdn pin is received from each line side, the receive system interface should be set in receive clock master mode. in the receive clock slave mode, if the multi-function pin rsckn/ rssign is used to output a reference clock, the receive system interface is in receive clock slave rsck reference mode. if the rsckn/rssign pin is used to output the extracted signaling bits, the receive system interface is in receive clock slave external signaling mode. the t1/j1 mode e1 rate, which means the system clock rate is 2.048 mhz in t1/j1 mode, can only be supported in the receive clock slave mode. in the receive clock master mode, if the data in all 24 channels of a t1/j1 basic frame is clocked out by the rsckn signal, the receive system interface is in receive clock master full t1/j1 mode. if the data in only some timeslots of a t1/j1 frame is clocked out by the rsckn, then the receive system interface is in receive clock master fractional t1/j1 mode. rscck2m / rscck8m (b4, t1/j1 - 001h) / (b3, t1/j1 - 001h) imode[1:0] (b7~6, t1/j1 - 001h) operation mode 10 receive clock slave rsck reference 00 / 10 * 11 receive clock slave external signaling 01 receive clock master full t1/j1 00 00 receive clock mast er fractional t1/j1 01 (in any of the eight framers) 11 receive multiplexed note: * when the rscck2m / rscck8m are ?00?, the system clock rate is 1.544mhz. when the rscck2m / rscck8m are ?10?, the system clock rate is 2.048mhz, i.e., t1/j1 mode e1 ra te. table - 21. operation mode selection in t1/j1 receive path table - 20 summarizes the receive system interface in different operating modes. to set the receive system interface of each framer into various operating modes, the registers must be configured as table - 21. 3.11.2.1 receive clock slave mode in the receive clock slave mode, the bit rate on the rsdn pin is 1.544mb/s. however, if the system clock rate is 2.048mhz, the received data stream (1.544 mb/s) should be converted to the same rate as the system side, that is, to work in t1/j1 mode e1 rate. thus, the rscck2m (b4, t1/j1-001h) and the rscck8m (b3, t1/j1-001h) should be set to logic 1 and 0 respectiively. the conversion complies as follows: one dummy byte is inserted in the system side before 3 bytes of frame n from the device are converted. this process repeats 8 times and the conversion of frame n of 1.544m bit/s data rate to 2.048m bit/s data rate is completed. however, the f-bit of frame n of the 1.544m bit/ s data rate is inserted as the 8th bit of the n of the 2.048m bit/s data rate (refer to figure - 22). in the receive clock slave mode, the receive side system common clock (rscck) is provided by the system side. it is used as a common timing clock for all eight framers. the speed of the rscck can be 1.544mhz or 2.048mhz. when it is 2.048mhz, the rscck can be selected by the cms (b4, t1/j1-078h) to be the same as the received data (2.048mb/s), or double the received data (4.096 mb/s). the cms (b4, t1/j1-078h) of the eight framers should be set to the same value. if the speed of the rscck is double the received data stream, there will be two active edges in one bit duration. in this case, the rsd_rscfs_edge (b5, t1/j1-078h) determines the active edge to update the signal on the rsdn, rssign and rsfsn pins; however, the pulse on the rscfs is always sampled on its first active edge. operation mode data pin clock pin framing pin signaling pin reference clock non- clock slave rsck reference rsdn rscck rscfs/rsfsn no rsckn multiplexed mode external signaling rsdn rscck rscfs/rsfsn rssign no mode clock master full t1/j1 rsdn rsckn rsfsn no no mode fractional t1/j1 rsdn rsckn rsfsn no no multiplexed mode mrsd mrscck mrscfs/mrsfs mrssig no table - 20. t1/j1 mode receive system interface in different operation modes
48 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer in the receive clock slave mode, the receive side system common frame pulse (rscfs) is used as a common framing signal to align the data stream for all eight framers. the rscfs asserts on each f-bit and its valid polarity is configured by the fpinv (b6, t1/j1-078h). in the receive clock slave mode, the rsfsn can indicate each f- bit of sf/esf, every second f-bit or the first f-bit of every 12 frames (in sf format) / every 24 frames (in esf format). all the indications are selected by the rsfsp (b2, t1/j1-001h) and altifp (b1, t1/j1-001h). the valid polarity of the rsfsn is configured by the fpinv (b6, t1/j1- 078h). the receive clock slave mode includes two sub-modes: receive clock slave rsck reference mode and receive clock slave external signaling mode. note that if the receive system interface is configured to operate in t1/j1 mode e1 rate, framer 1, 3, 5, 7 must be configured in the same sub-mode and framer 2, 4, 6, 8 must be configured in the same sub-mode. 3.11.2.1.1 receive clock slave rsck reference mode in this mode (refer to figure - 7), the data on the system interface is clocked by the rscck. the active edge of the rscck to sample the data on the rscfs pin or to update the data on the rsdn and rsfsn pins is determined by the following bits in the registers (refer to table - 22). the bit determining the active edge of the rscck rscfs rscfsfall (b1, t1/j1 - 003h) rsfsn rsdn rscckrise (b0, t1/j1 - 003h) note: the rscfsfall (b1, t1/j1 - 003h) of the eight framers should be set to the same value to ensure the rscfs for the eight framer s is sampled on the same active edge. it is a special case when the cms (b4, t1/j1 - 078h) is logic 1 and the rscfsfall (b1, t1/j1 - 003h) is not equal to rscckrise (b0, t1/j1 - 003h). the rsd_rscfs_edge (b5, t1/j1 - 078h) is invalid and the signals on th e rsdn and the rsfsn pins are updated on the first active edge of rscck. table - 22. active edge selection of rscck (in t1/j1 receive clock slave rsck reference mode) figure - 22. t1/j1 to e1 format conversion ts0 ts1 ts2 ts3 ts4 ts5 ts6 ts31 ts0 ch1 ch2 ch3 ch4 ch5 ch24 the 8th bit f inserted inserted the 8th bit inserted f ts1 ch1 2.048m bit/s 1.544m bit/s the cms (b4, t1/j1-078h) is logic 0 and the bankplane rate is 1.544mbit/s. the rscfsfall (b1, t1/j1-003h) is logic 0 and the rscckrise (b0, t1/j1-003h) is logic 0. the channel offset and the bit offset enable are both 0: ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 rscck rscfs rsdn rsfsn (the rsckn is selected by the rscksel (b5, t1/j1-001h) to output a jitter attenuated 1.544mhz (i.e., smoothed lrckn) or 8khz clock (smoothed lrckn divided by 193).) figure - 23 to 25 show the functional timing examples. bit 1 of each channel is the first bit to be output. figure - 23. t1/j1 receive clock slave rsck reference mode - functional timing example 1
49 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ch24 dummy p x x x x x x 6 f 1 2 3 4 5 1 2 3 4 5 6 7 8 ch1 rscck rscfs rsdn rsfsn the cms (b4, t1/j1-078h) is logic 0 and the bankplane clock rate is 2.048mbit/s. the rscfsfall (b1, t1/j1-003h) is logic 0 and the rscckrise (b0, t1/j1-003h) is logic 1. the channel offset and the bit offset enable are both 0: (the rsckn is selected by the rscksel (b5, t1/j1-001h) to output a jitter attenuated 1.544mhz (i.e., smoothed lrckn) or 8khz clock (smoothed lrckn divided by 193).) (the 'x' represent the filled bits and has no meaning.) figure - 24. t1/j1 receive clock slave rsck reference mode - functional timing example 2 ch24 dummy p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch1 rscck rscfs rsdn rsfsn the cms (b4, t1/j1-078h) is logic 1, i.e., the bankplane clock rate is 4.096mbit/s. the rscfsfall (b1, t1/j1-003h) is logic 0 and the rscckrise (b0, t1/j1-003h) is logic 1. when the channel offset and the bit offset enable are both 0: (the rsckn is selected by the rscksel (b5, t1/j1-001h) to output a jitter attenuated 1.544mhz (i.e., smoothed lrckn) or 8khz clock (smoothed lrckn divided by 193).) (the 'x' represents the filled bits and has no meaning.) figure - 25. t1/j1 receive clock slave rsck reference mode - functional timing example 3
50 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer besides all the common functions described in the receive clock slave mode, the special feature in this mode is that the multi-functional pin rsckn/rssign is used as rsckn to output a reference clock. the rsckn can be selected by the rscksel (b5, t1/j1-001h) to output a jitter attenuated 1.544mhz (i.e., smoothed lrckn) or 8khz clock (smoothed lrckn divided by 193). 3.11.2.1.2 receive clock slave external signaling mode in this mode (refer to figure - 10), the data on the system interface is clocked by the rscck. the active edge of the rscck to sample the pulse on the rscfs or to update the data on the rsdn, rsfsn and rssign pins is determined by the following bits in the registers (refer to table - 23). figure - 26 to 28 show the functional timing examples. bit 1 of each channel is the first bit to be output. besides all the common functions described in the receive clock slave mode, the special feature in this mode is that the multi-functional pin rsckn/rssign is used as rssign to output the extracted signaling bits. the extracted signaling bits are channel aligned with the data on the rsdn pin (refer to figure - 6). 3.11.2.2 receive clock master mode in the receive clock master mode, each framer uses its own clock signal on rsckn pin and framing signal on rsfsn pin to output the data on each rsdn pin. in the receive clock master mode, the bit rate on the rsdn pin is 1.544mb/s. in the receive clock master mode, the rsfsn can indicate each f- bit of sf/esf, every second f-bit or the first f-bit of every 12 frames (in sf format) / every 24 frames (in esf format). all the indications are selected by the rsfsp (b2, t1/j1-001h) and altifp (b1, t1/j1-001h). the valid polarity of the rsfsn is configured by the fpinv (b6, t1/j1- 078h). in the receive clock master mode, the data on the system interface is clocked by the rsckn. the active edge of the rsckn to update the data on the rsdn and rsfsn is determined by the rsckrise(b3, t1/ j1-003h). the receive clock master mode includes two sub-modes: receive clock master full t1/j1 mode and receive clock master fractional t1/ j1 mode. the bit determining the active edge of the rscck rscfs rscfsfall (b1, t1/j1 - 003h) rsfsn rsdn rssign rscckrise (b0, t1/j1 - 003h) note: the rscfsfall (b1, t1/j1 - 003h) of the eight framers should be set to the same value to ensure the rscfs for the eig ht framers is sampled on the same active edge. it is a special case when the cms (b4, t1/j1 - 078h) is logic 1 and the rscfsfall (b1, t1/j1 - 003h) is not equal to rscckrise (b0, t1/j1 - 003h). the rsd_rscfs_edge (b5, t1/j1 - 078h) is invalid and the sign al on the rsdn, rssign and the rsfsn pins are updated on the first active edge of rscck. table - 23. active edge selection of rscck (in t1/j1 receive clock slave external signaling mode) ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 rscck rscfs rsdn x x x x x x x x x x x x x a x x x x a b c d rssign rsfsn the cms (b4, t1/j1-078h) is logic 0 and the bankplane clock rate is 1.544mbit/s. the rscfsfall (b1, t1/j1-003h) is logic 1 and the rscckrise (b0, t1/j1-003h) is logic 0. the channel offset and the bit offset enable are both 0: (the 'x' represent the filled bits and has no meaning.) figure - 26. t1/j1 receive clock slave external signaling mode - functional timing example 1
51 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ch24 dummy p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch1 rscck rscfs rsdn p x x x x x x x x x x x a b x x x x a b c d rssign rsfsn the cms (b4, t1/j1-078h) is logic 0 and the bankplane clock rate is 2.048mbit/s. the rscfsfall (b1, t1/j1-003h) is logic 1 and the rscckrise (b0, t1/j1-003h) is logic 1. the channel offset and the bit offset enable are both 0: (the 'x' represents the filled bits and has no meaning.) figure - 27. t1/j1 receive clock slave external signaling mode - functional timing example 2 ch24 dummy p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch1 rscck rscfs rsdn p x x x x x x x x x x x a b x x x x a b c d rssign ch24 p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch2 p x x x x x x x x x x x a b x x x x a b c d rsdn rssign dummy rsfsn rsfsn the cms (b4, t1/j1-078h) is logic 1, i.e., the bankplane clock rate is 4.096mbit/s. the rscfsfall (b1, t1/j1-003h) is logic 1 and the rscckrise (b0, t1/j1-003h) is logic 1. when the rsd_rscfs_edge (b5, t1/j1-078h) is logic 1: when the rsd_rscfs_edge (b5, t1/j1-078h) is logic 0: (the 'x' represents the filled bits and has no meaning.) figure - 28. t1/j1 receive clock slave external signaling mode - functional timing example 3
52 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.11.2.2.1 receive clock master full t1/j1 mode besides all the common functions described in the receive clock master mode, the special feature in this mode (refer to figure - 13) is that the rsckn is a standard 1.544mhz clock, and the data in all the 24 channels in a standard t1/j1 frame is clocked out by the rsckn. figure - 29 shows the functional timing examples. bit 1 of each chan- nel is the first bit to be output. 3.11.2.2.2 receive clock master fractional t1/j1 mode besides all the common functions described in the receive clock master mode, the special feature in this mode (refer to figure - 15) is that the rsckn is a gapped 1.544mhz clock (no clock signal during the selected channel). the rsckn is gapped during those channels with their extract (b2, t1/j1-rplc-indirect registers - 01~18h) in receive payload con- trol are logic 0 and clocks out during those channels with their ex- tract (b2, t1/j1-rplc-indirect registers - 01~18h) are logic 1. the data in the corresponding gapped channel is a don't care condition. figure - 30 shows the functional timing examples. bit 1 of each chan- nel is the first bit to be output. 3.11.2.3 receive multiplexed mode in this mode (refer to figure - 17), two multiplexed buses are used to receive the data from all eight framers. the data from up to four framers is byte-interleaved output on one of the two multiplexed buses. the multiplexed bus is selected by the mrbs (b7, t1/j1-003h). when the data from four framers are output on one multiplexed bus, the sequence of data is arranged by setting the channel offset tsoff[6:0] (b6~0, t1/ j1-077h). the data from different framers on one multiplexed bus must be shifted at a different channel offset to avoid data mixing. then the re- ceived data of each framer can be controlled by the mrbc (b6, t1/j1- 003h) to output to the selected multiplexed bus or not. in the receive multiplexed mode, the data on the system interface are clocked by the mrscck. the active edge of the mrscck to sam- ple the pulse on the mrscfs and to update the data on the mrsd, mrsfs and mrssig are determined by the following bits in the regis- ters (refer to table - 24). rsck is 1.544m ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 rsckn rsfsn rsdn ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 rsfsn rsdn when the rsckrise (b3, t1/j1-003h) is logic 1: when the rsckrise (b3, t1/j1-003h) is logic 0: figure - 29. t1/j1 receive clock master full t1/j1 mode - functional timing example the bit determining the active edge of the mrscck mrscfs rscfsfall (b1, t1/j1 - 003h) mrsfs mrsd mrssig rscckrise (b0, t1/j1 - 003h) note: when the rscfsfall/rscckrise of any of the eight framers is configured as logic 1, all the others are taken as lo gic 1. that is, the rscfsfall/rscckrise should be configured to the same value in receive multiplexed mode. it is a special case when the cms (b4, t1/j1 - 078h) is logic 1 and the rscfsfall (b1, t1/j1 - 003h) is not equal to rscckrise (b0, t1/j1 - 003h) . the rsd_rscfs_edge (b5, t1/j1 - 078h) is invalid and the signal on the mrsd, mrssig and the mrsfs pins are updated on the first active edge of rscck. table - 24. active edge selection of mrscck (in t1/j1 receive multiplexed mode)
53 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer rsck is 1.544m. in this example, rsck is supposed to be held in inactive state during ch2. ch24 ch1 x 1 2 3 4 5 6 7 8 4 5 6 7 8 rsckn rsfsn rsdn 1 2 don't care ch24 ch1 x 1 2 3 4 5 6 7 8 4 5 6 7 8 rsckn rsfsn rsdn 1 2 don't care when the rsckrise (b3, t1/j1-003h) is logic 0: when the rsckrise (b3, t1/j1-003h) is logic 1: figure - 30. t1/j1 receive clock master fractional t1/j1 mode - functional timing example in the receive multiplexed mode, the multiplexed receive side system common clock (mrscck) is provided by the system side. it is used as a common timing clock for all eight framers. the frequency of the mrscck can be selected by the cms (b4, t1/j1-078h) to be the same as the bit rate of the received data stream (8.192mb/s), or double the bit rate of the received data stream (16.384 mb/s). if the frequency of the rscck is double the bit rate of the received data stream, there will be two active edges in one bit duration. in this case, the rsd_rscfs_edge (b5, t1/j1-078h) determines the active edge to update the signal on the mrsd, mrssig and mrsfs pin; however, the pulse on the mrscfs is always sampled on its first active edge. if the cms (b4, t1/j1-078h) or the rsd_rscfs_edge (b5, t1/j1-078h) of any of the eight framers is configured as logic 1, all the others are taken as logic 1. that is, the cms (b4, t1/j1-078h) and the rsd_rscfs_edge (b5, t1/j1-078h) of the eight framers should be configured to the same value in the receive multiplexed mode. in the receive multiplexed mode, the multiplexed receive side system common frame pulse (mrscfs) is used as a common framing signal to align the data streams on the two multiplexed buses. the mrscfs is asserted on the f-bit. the valid polarity of the mrscfs is configured by the fpinv (b6, t1/j1-078h) . the fpinv (b6, t1/j1- 078h) of the eight framers should be set to the same value. in the receive multiplexed mode, the bit rate on the mrsd pin is 8.192mb/s. in the receive multiplexed mode, regardless of the setting in the rsfsp (b2, t1/j1-001h) and altifp (b1, t1/j1-001h), the mrsfs can only indicate each f-bit of sf/esf of the selected first framer. the valid polarity of the rsfsn is configured by the fpinv (b6, t1/j1-078h). the fpinv (b6, t1/j1-078h) of the eight framers should be set to the same value. in the receive multiplexed mode, the mrssig outputs extracted signaling. the extracted signaling bits are channel aligned with the data outputted on the mrsd. figure - 31 & 32 show the functional timing examples. bit 1 of each channel is the first bit to be output. 3.11.2.4 parity check in all the above modes except for the receive clock slave fractional t1/j1 mode, if the rprtye (b0, t1/j1-002h) is logic 1, parity check can be conducted over the bits in the previous frame and the result is in- serted into the f-bit on the rsdn/mrsd and rssign/mrssig pin. the even parity or odd parity is selected by the rptyp (b1, t1/j1-002h) and whether the f-bit is calculated or not is determined by the pty_extd (b3, t1/j1-002h).
54 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer when the rsd_rscfs_edge (b5, t1/j1-078h) is logic 0: f framer1_ch1 4 5 6 1 2 3 8 7 f f f p 8 7 b a d c p d c p p p p p p f framer1_ch1 4 5 6 1 2 3 8 7 f f f p 8 7 b a d c p d c p p p p p p x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x mrscck mrscfs mrsfs mrsd mrssig mrsfs mrsd mrssig the cms (b4, t1/j1-078h) is logic 1, i.e., the bankplane clock rate is 16.384mbit/s. the rscckrise(b0, t1/j1-003h) is logic 1 and the rscfsfall (b1, t1/j1-003h) is logic 1. in this example, framer1 to frame4 are supposed to be multiplexed to one multiplexed bus. the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the boff_en of the four framers are set to logic 0: when the rsd_rscfs_edge (b5, t1/j1-078h) is logic 1: f-bit parity bit framer1 f-bit parity bit framer2 f-bit parity bit framer3 parity bit framer4 f-bit f-bit parity bit framer1 f-bit parity bit framer2 f-bit parity bit framer3 parity bit framer4 f-bit (the 'x' represents the filled bits and has no meaning.) f framer1_ch1 4 5 6 1 2 3 8 7 f f f p 8 7 b a d c p d c p p p p p p x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x mrscck mrscfs mrsfs mrsd mrssig the cms (b4, t1/j1-078h) is logic 0, i.e., the bankplane clock rate is 8.192mbit/s. the rscckrise(b0, t1/j1-003h) is logic 1 and the rscfsfall (b1, t1/j1-003h) is logic 0. in this example, framer1 to frame4 are supposed to be multiplexed to one multiplexed bus. when the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the boff_en of the four framers are set to logic 0: f-bit parity bit framer1 f-bit parity bit framer2 f-bit parity bit framer3 f-bit parity bit framer4 (the 'x' represents the filled bits and has no meaning.) figure - 31. t1/j1 receive multiplexed mode - functional timing example 1 figure - 32. t1/j1 receive multiplexed mode - functional timing example 2
55 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 25. receive system interface bit offset rscfsfall rscckrise boff[2:0] (b2~0, t1/j1-078h) (b1, t1/j1-003) (b0, t1/j1-003h) 000 001 010 011 100 101 110 111 1 0 2 4 6 8 10 12 14 16 1 1 1 3 5 7 9 11 13 15 cet 0 0 1 3 5 7 9 11 13 15 0 1 2 4 6 8 10 12 14 16 1 2 3 4 5 6 7 8 p x x x x x x f 1 2 3 4 for example: when rscfsfall (b1, t1/j1-003h) = 1, rscckrise (b0, t1/j1-003h) = 0 rscfs rscck rsdn the bit offset is 0: ch24 dummy ch1 the bit offset is set as: boff_en (b3, t1/j1-078h) = 1, boff[2:0] (b2~0, t1/j1-078h) = 010; i.e. the cet = 6: 1 2 3 4 5 6 7 8 p x x x x x x f 1 2 3 4 ch24 dummy ch1 starting edge (cet=0) 1 2 3 cet=6 rsdn 4 5 figure - 33. receive bit offset in t1/j1 mode 3.11.2.5 offset when the system clock rate is 2.048mhz (in receive clock slave t1/ j1 mode e1 rate mode) or 8.192mhz (in receive multiplexed mode), channel offset and/or bit offset between the rscfs and the start of the corresponding frame on the rsdn/mrsd (and rssign/mrssig) can be configured. bit offset is disabled when the cms (b4, t1/j1-078h) is logic 1. the channel offset is configured in the tsoff[6:0] (b6~0, t1/j1- 077h). the tsoff[6:0] (b6~0, e1-013h) give a binary representation. enabled by the boff_en (b3, t1/j1-078h), the bit offset is configured in the boff[2:0] (b2~0, t1/j1-078h). the bit offset follows the concentration highway interface (chi) specification (refer to table - 25). the cet (clock edge transmit) is counted from the active edge of the rscfs/mrscfs (refer to the example in figure - 33). the pulse on the rsfsn/mrsfs and the signal on the rssign/mrssig (if exists) are aligned to the rsdn/mrsd. 3.11.2.6 output on rsdn/mrsd & rssign/mrssig in all the five modes, the rsdn/mrsd and the rssign/mrssig pin can be configured by the tri[1:0] (b5~4, t1/j1-003h) of the correspond- ing framer to be in high impedance state or to output the processed data stream.
56 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer figure - 34. prbs pattern generator 3.12 prbs genera t or / detect or (prgd) the prbs generator/detector is shared by eight framers. it can be assigned to any of the 8 framers at one time. the prgd, together with the receive / transmit payload control blocks, is used to test the data stream. 3.12.1 e1 mode the prbs generator/detector is a global control block. any one of the eight framers can be linked to the pattern generator or detector by the prgdsel[2:0] (b7~5, e1-00ch). the pattern can be inserted in ei- ther the transmit or receive direction, and detected in the opposite direc- tion. the direction is determined by the rxpatgen (b2, e1-00ch). the pattern can be generated or detected in unframed or framed mode. the selection is made by the unf_gen (b1, e1-00ch) or unf_det (b0, e1-00ch) respectively. in unframed mode, all the 32 timeslots are re- placed or extracted and the specification of the test (b7, e1-rplc-in- direct registers - 20~3fh or b3, e1-tplc-indirect registers - 20~3fh) in receive / transmit payload control blocks are ignored. in framed mode, the timeslot is specified by the test (b7, e1-rplc-indirect registers - 20~3fh or b3, e1-tplc-indirect registers - 20~3fh). pattern generator the repetitive or pseudo-random pattern selected by the ps (b4, e1- 070h) is located in the pi[31:0] (b7~0, e1-078h & b7~0, e1-079h & b7~0, e1-07ah & b7~0, e1-07bh). however, the length of the valid data in the pi[31:0] is determined by the pl[4:0] (b4~0, e1-072h). if the re- petitive pattern is selected, the valid pi[x:0] (x is equal to one number of the 31 to 1) reflect its content directly. if the pseudo-random pattern is selected, the valid pi[x:0] are its initial value and the feedback tap posi- tion (refer to figure - 34) is determined by the pt[4:0] (b4~0, e1-073h). a single bit error can be inserted by setting the event (b3, e1-074h) to 1, or continuous bit errors can be inserted at a bit error rate determined by the eir[2:0] (b2~0, e1-074h). before replacing the data in the as- signed direction, the pattern can be inverted with the tinv (b3, e1- 070h) enabled. pattern detector the extracted data from the assigned direction are compared with a repetitive or pseudo-random pattern selected by the ps (b4, e1-070h). before being compared, the data can be inverted with the rinv (b2, e1- 070h) enabled. the extracted data are then compared with a 48-bit fixed window loaded with the pattern. this process goes on until the data co- incide with the pattern. when they are synchronized, it is indicated by the syncv (b4, e1-071h). bit errors in the synchronized data are indi- cated in the bei (b2, e1-071h). when there are more than 10-bit errors in the fixed 48-bit window, the extracted data are out of synchronization. automatic search for the re-synch will be done with the autosync (b1, e1-070h) configured, or manual search can be done when there is a transition from low to high on the mansync (b0, e1-070h). a manual search is recommended to execute to ensure the prgd operates cor- rectly when there is any setting change of the prgd registers or the de- tector data source changes. selected by the pdr[1:0] (b7~6, e1-070h), the pd[31:0] (b7~0, e1- 07ch & b7~0, e1-07dh & b7~0, e1-07eh & b7~0, e1-07fh) can con- tain the received pattern, the total error count or the total number of re- ceived bits. they update when the defined intervals are initiated. the in- tervals equal 1 second when the autoupdate (b0, e1-000h) is set in the corresponding framer. they can also be updated by writing to any of the pd[31:0] (b7~0, e1-07ch & b7~0, e1-07dh & b7~0, e1-07eh & b7~0, e1-07fh), or to the e1 chip id / global pmon update register (e1-009h). the update will be indicated by the xferi (b1, e1-071h). if they are not read in the defined intervals, the pd[31:0] (b7~0, e1-07ch & b7~0, e1-07dh & b7~0, e1-07eh & b7~0, e1-07fh) will be overwritten with new data. the overwritten condition is indicated by the ovr (b0, e1-071h). 3 kinds of interrupts can be generated by this block: - bit errors; - synchronization status change (indicated in the synci [b3, e1- 071h] ); - the pd[31:0] (b7~0, e1-07ch & b7~0, e1-07dh & b7~0, e1-07eh & b7~0, e1-07fh) are updated. when the interrupts are enabled by the bee (b6, e1-071h), synce d q q set clr d q q set clr d q q set clr d q q set clr tap[0] tap[31] tap[1] tap[2]
57 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer (b7, e1-071h) and xfere (b5, e1-071h) respectively, the int pin is as- serted. 3.12.2 t1 / j1 mode the prbs generator/detector is a global control block. any one of the eight framers can be linked to pattern generator or detector by the prgdsel[2:0] (b7~5, t1/j1-00fh). the pattern can be inserted in ei- ther the transmit or receive direction, and detected in the opposite direc- tion. the direction is determined by the rxpatgen (b2, t1/j1-00fh). the pattern can be generated or detected in unframed or framed mode. the selection is made by the unf_gen (b1, t1/j1-00fh) or unf_det (b0, t1/j1-00fh) respectively. in unframed mode, all the 24 channels are replaced or extracted and the specification of the test (b3, t1/j1- rplc-indirect registers - 01~18h or b3, t1/j1-tplc-indirect registers - 01~18h) in receive / transmit payload control blocks are ignored. in framed mode, the channel is specified by the test (b3, t1/j1-rplc-in- direct registers - 01~18h or b3, t1/j1-tplc-indirect registers - 01~18h). however, fractional t1/j1 signal can be replaced or extracted in the specified channel when the nx56k_gen (b4, t1/j1-00fh) or nx56k_det (b3, t1/j1-00fh) is set respectively. pattern generator the repetitive or pseudo-random pattern selected by the ps (b4, t1/ j1-060h) is located in the pi[31:0] (b7~0, t1/j1-068h & b7~0, t1/j1- 069h & b7~0, t1/j1-06ah & b7~0, t1/j1-06bh). however, the length of the valid data in the pi[31:0] is determined by the pl[4:0] (b4~0, t1/j1- 062h). if the repetitive pattern is selected, the valid pi[x:0] (x is valid for 1 to 31) reflect its content directly. if the pseudo-random pattern is se- lected, the valid pi[x:0] are its initial value and the feedback tap position (refer to figure - 34) is determined by the pt[4:0] (b4~0, t1/j1-063h). a single bit error can be inserted by setting the event (b3, t1/j1-064h), or continuous bit errors can be inserted at a bit error rate determined by the eir[2:0] (b2~0, t1/j1-064h). before replacing the data in the as- signed direction, the pattern can be inverted with the tinv (b3, t1/j1- 060h) enabled. pattern detector the extracted data from the assigned direction are compared with a repetitive or pseudo-random pattern selected by the ps (b4, t1/j1- 060h). before being compared, the data can be inverted with the rinv (b2, t1/j1-060h) enabled. the extracted data are then compared with a 48-bit fixed window loaded with the pattern. this process continues until the data coincide with the pattern. they are then synchronized with an indication in the syncv (b4, t1/j1-061h). bit errors in the synchronized data are indicated in the bei (b2, t1/j1-061h). when there are more than 10-bit errors in the fixed 48-bit window, the extracted data are out of synchronization. automatic search for the re-synch will be done with the autosync (b1, t1/j1-060h) configured, or manual search can be done when there is a transition from low to high on the mansync (b0, t1/j1-060h). a manual search is recommended to execute to ensure the prgd operates correctly when there is any setting change of the prgd registers or the detector data source changes. selected by the pdr[1:0] (b7~6, t1/j1-060h), the pd[31:0] (b7~0, t1/j1-06ch & b7~0, t1/j1-06dh & b7~0, t1/j1-06eh & b7~0, t1/j1- 06fh) can contain the received pattern, the total error count or the total number of received bits. they update when the defined intervals are ini- tiated. the intervals equal 1 second when the autoupdate (b0, t1/ j1-000h) is set in the corresponding framer. they can also be updated by writing to any of the pd[31:0] (b7~0, t1/j1-06ch & b7~0, t1/j1- 06dh & b7~0, t1/j1-06eh & b7~0, t1/j1-06fh), or to the t1/j1 chip id / global pmon update register (t1/j1-00ch). the update will be indi- cated by the xferi (b1, t1/j1-061h). if they are not read in the defined intervals, the pd[31:0] (b7~0, t1/j1-06ch & b7~0, t1/j1-06dh & b7~0, t1/j1-06eh & b7~0, t1/j1-06fh) will be overwritten with new data. the overwritten condition is indicated by the ovr (b0, t1/j1-061h). 3 kinds of interrupts can be generated by this block: - bit errors; - synchronization status change (indicated in the synci [b3, t1/j1- 061h] ); - the pd[31:0] (b7~0, t1/j1-06ch & b7~0, t1/j1-06dh & b7~0, t1/ j1-06eh & b7~0, t1/j1-06fh) are updated. when the interrupts are enabled by the bee (b6, t1/j1-061h) synce (b7, t1/j1-061h) and xfere (b5, t1/j1-061h) respectively, the int pin is asserted. 3.13 transmit system interf ace (trsi) the transmit system interface determines how to input the data to the chip. the input data to the eight framers can be aligned with each other or inputted independently. the timing clocks and framing pulses can be provided by the system back-plane common to eight framers or provided for eight framers individually. the transmit system interface supports various configurations to meet various requirements in different applications. 3.13.1 e1 mode in e1 mode, the transmit system interface can be set in non- multiplexed mode or multiplexed mode. in non-multiplexed mode, the tsdn pin is used to input the data to each framer at the bit rate of 2.048 mb/s. while in the multiplexed mode, the data input to the eight framers are byte interleaved from two high speed data streams and input on the mtsd1 and mtsd2 pins at the bit rate of 8.192 mb/s. in the non-multiplexed mode, if the timing signal for clocking data on tsdn pin is provided by the system side and shared by all eight framers, the transmit system interface should be set in transmit clock slave mode. if the timing signal for clocking data on each tsdn pin is provided from each line side (processed timing signal), the transmit system interface should be set in transmit clock master mode. in the non-multiplexed mode, if there is a common framing pulse provided by the system side for the eight framers, the transmit system interface should be set in transmit clock slave mode. if there is no common framing pulse, the transmit system interface should be set in transmit clock master mode. in the transmit clock slave mode, if the multi-function pin tsfsn/ tssign is used to output the framing indication pulse, the transmit system interface is in transmit clock slave tsfs enable mode. if the tsfsn/tssign is used to input the signaling bits to be inserted, the transmit system interface is in transmit clock slave external signaling mode. in the transmit clock master mode, the multi-function pin tsfsn/ tssign is used as tsfsn to input the framing indication pulse. table - 26 summarizes the transmit system interface in different operation modes. to set the transmit system interface of each framer into various operation modes, the registers must be configured as table - 27.
58 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer transmit system interface frame generator dpll tsd[1:8] * tsfs[1:8] * ltd[1:8] ltck[1:8] transmitter note: * tscfs, tsd, tsfs are timed to tscckb tscckb tsccka lrck[1:8] fifo tscfs * figure - 35. transmit clock slave tsfs enable mode 3.13.1.1 transmit clock slave mode in the transmit clock slave mode, the transmit side system com- mon clock b (tscckb) is provided by the system side. it is used as a common timing clock for all eight framers. the speed of the tscckb can be selected by the cms (b2, e1-018h) to be the same as the data to be transmitted (2.048mhz), or twice the data (4.096mhz). the cms (b2, e1-018h) of the eight framers should be set to the same value. if the speed of the tscckb is twice the data to be transmitted, there will be two active edges in one bit time. in this case, the coff (b4, e1-01ch) determines the active edge to sample the signal on the tsdn and tssign pins and the active edge to update the pulse on the tsfsn pin; however, the pulse on the tscfs is always sampled on its first active edge. in the transmit clock slave mode, the transmit side system com- mon clock a (tsccka) is provided by the system side. it is used as one of the reference clocks for the transmit jitter attenuator dpll for all eight framers (refer to the transmit clock for details). in the transmit clock slave mode, the transmit side system com- mon frame pulse (tscfs) is used as a common framing signal to align the data streams for the eight framers. the tscfs is asserted on each basic frame or multi-frame indicated by the fptyp (b1, e1-019h). the valid polarity is congifured by the fpinv (b3, e1-019h). in the transmit clock slave mode, the bit rate on the tsdn pin is 2.048mb/s. the transmit clock slave mode includes two sub-modes: transmit clock slave tsfs enable mode and transmit clock slave external signaling mode. 3.13.1.1.1 transmit clock slave tsfs enable mode in this mode (refer to figure - 35), the data on the system interface are clocked by the tscckb. the active edge of the tscckb used to sample the pulse on the tscfs and the data on the tsdn and tsfsn are determined by the following bits in the registers (refer to table - 28). figure - 36 & 37 show the functional timing examples. bit 1 of each timeslot is the first bit to be transmitted. besides all the common functions described in the transmit clock slave mode, the special feature in this mode is that the multi-functional pin tsfsn/tssign is used as tsfsn to output a framing pulse to indi- cate the first bit of each basic frame. rate[1:0] (b1~0, e1 - 018h) tsckslv (b5, e1 - 018h) tssig_en (b6, e1 - 003h) operation mode 0 transmit clock slave tsfs enable 1 1 transmit clock slave external signaling 01 0 - transmit clock master 11(all the eight framers should be set) 1 1 transmit mu ltiplexed table - 27. operation mode selection in e1 transmit path operation mode data pin clock pin framing pin signaling pin reference clock non- clock slave tsfs enable tsdn tscckb tscfs & tsfsn no tsccka multiplexed mode external signaling tsdn tscckb tscfs tssign tsccka mode clock master mode tsdn ltckn tsfsn no tsccka & tscckb multiplexed mode mtsd mtscckb mtscfs mtssig tsccka table - 26. e1 mode transmit system interface in different operation modes
59 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the cms (b2, e1-018h) is logic 0, i.e., the backplane clock rate is 2.048mbit/s. the de (b4, e1-018h) is logic 0 and the fe(b3, e1-018h) is logic 0. ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 tscckb tscfs tsdn tsfsn tsfsn (when the tsfsrise (b2, e1-002) is logic 0:) (when the tsfsrise (b2, e1-002) is logic 1:) tscckb tscfs the cms (b2, e1-018h) is logic 1, i.e., the backplane clock rate is 4.096mbit/s. the fe(b3, e1-018h) is logic 0 and the de (b4, e1-018h) is logic 1. the coff (b4, e1-01ch) is in its default value. ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 tsdn tsfsn tsfsn (when the tsfsrise (b2, e1-002) is logic 0:) (when the tsfsrise (b2, e1-002) is logic 1:) figure - 36. e1 transmit clock slave tsfs enable mode - functional timing example 1 figure - 37. e1 transmit clock slave tsfs enable mode - functional timing example 2
60 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the bit determining the active edge of the tscckb tscfs fe (b3, e1 - 018h) tsdn tssign de (b4, e1 - 018h) note: if the fe is not equal to the de, the active edge decided by the fe is one clock edge before the active edge decided by the de. the f e (b3, e1 - 018h) of the eight framers should be set to the same value to ensure the tscfs for the eight framers is sampled on the same active edge. table - 29. active edge selection of tscckb (in e1 transmit clock slave external signaling mode) transmit system interface frame generator dpll tsd[1:8] * tssig[1:8] * ltd[1:8] ltck[1:8] transmitter note: * tscfs, tsd, tssig are timed to tscckb tscckb tsccka lrck[1:8] fifo tscfs * figure - 38. transmit clock slave external signaling mode the bit determining the active edge of the tscckb tscfs fe (b3, e1 - 018h) tsdn de (b4, e1 - 018h) tsfsn tsfsrise (b2, e1 - 002h) note: if the fe is not equal to the de, the active edge decided by the fe is one clock edge before the active edge decided by t he de. the fe (b3, e1 - 018h) of the eight framers should be set to the same value to ensure the tscfs for the eight framers is sampled on the same active edge. table - 28. active edge selection of tscckb (in e1 transmit clock slave tsfs enable mode) 3.13.1.1.2 transmit clock slave external signaling mode in this mode (refer to figure - 38), the data on the system interface are clocked by the tscckb. the active edge of the tscckb used to sample the pulse on the tscfs and the data on the tsdn and tssign is determined by the following bits in the registers (refer to table - 29). figure - 39 & 40 show the functional timing examples. bit 1 of each timeslot is the first bit to be transmitted. besides all the common functions described in the transmit clock slave mode, the special feature in this mode is that the multi-functional pin tsfsn/tssign is used as tssign to input the signaling. the signaling on the tssign pin may replace the data on ts16 when the ccs is disabled and the sigsrc (b4, e1-tplc-indirect registers - 61~7fh) in the tplc block is logic 0. ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 tscckb tscfs tsdn p x x x x x x x x x x x a b x x x x a b c d tssign the cms (b2, e1-018h) is logic 0, i.e., the bankplane clock rate is 2.048mbit/s. the de (b4, e1-018h) is logic 0 and the fe(b3, e1-018h) is logic 1. (the 'x' represent the filled bits and has no meaning.) figure - 39. e1 transmit clock slave external signaling mode - functional timing example 1
61 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer tscckb tscfs the cms (b2, e1-018h) is logic 1, i.e., the bankplane clock rate is 4.096mbit/s. the fe(b3, e1-018h) is logic 1 and the de (b4, e1-018h) is logic 1. the coff (b4, e1-01ch) is in its default value. ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 tsdn p x x x x x x x x x x x a b x x x x a b c d tssign (the 'x' represent the filled bits and has no meaning.) figure - 40. e1 transmit clock slave external signaling mode - functional timing example 2 transmit system interface frame generator dpll tsd[1:8] * tsfs[1:8] * ltd[1:8] ltck[1:8] transmitter note: * tsd, tsfs are timed to ltck tscckb tsccka lrck[1:8] figure - 41. transmit clock master mode 3.13.1.2 transmit clock master mode in the transmit clock master mode (refer to figure - 41), the trans- mit side system common clock a (tsccka) and transmit side system common clock b (tscckb) provided by the system side are used as one of the reference clocks for the transmit jitter attenuator dpll for all eight framers (refer to the transmit clock for details). in the transmit clock master mode, the multi-functional pin tsfsn/ tssign is used as tsfsn to output a framing pulse to indicate the first bit of each basic frame. in the transmit clock master mode, the bit rate on the tsdn pin is 2.048mb/s. in the transmit clock master mode, each framer uses its own proc- essed clock signal on ltckn pin to sample/update the data on the sys- tem interface. the active edge of the ltckn to sample the data on the tsdn pin is determinded by the de (b4, e1-018h). the active edge of the ltckn to update the pulse on the tsfsn pin is determinded by the tsfsrise (b2, e1-002h). figure - 42 shows the functional timing examples. bit 1 of each timeslot is the first bit to be transmitted. 3.13.1.3 transmit multiplexed mode in this mode (refer to figure - 43), two multiplexed buses are used to input the data to all eight framers. selected by the mtbs (b4, e1-003h) in each framer, the data on one of the two multiplexed buses is byte-in- terleaved input to up to four framers. when each group of four framers are selected, the input sequence of the data on the multiplexed bus is arranged by setting the timeslot offset tsoff[6:0] (b6~0, e1-01bh). the data to different framers from one multiplexed bus must be shifted to a different timeslot offset to avoid data mixing. then the data on the multiplexed bus will be input to each of the four selected framers with a byte-interleaved manner. in the transmit multiplexed mode, the data on the system interface are clocked by the mtscckb. the active edge of the mtscckb to sample the data on the mtscfs, mtsd and mtssig is determined by the following bits in the registers (refer to table - 30).
62 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ltck is 2.048m ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 ltckn tsfsn tsdn when the tsfsrise (b2, e1-002h) is logic 0 and the de (b4, e1-018h) is logic 1: ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 tsdn tsfsn ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 tsfsn tsdn ts31 ts0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ts1 tsdn tsfsn when the tsfsrise (b2, e1-002h) is logic 1 and the de (b4, e1-018h) is logic 1: when the tsfsrise (b2, e1-002h) is logic 1 and the de (b4, e1-018h) is logic 0: when the tsfsrise (b2, e1-002h) is logic 0 and the de (b4, e1-018h) is logic 0: figure - 42. e1 transmit clock master mode - functional timing example
63 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer mtssig[1:2] * mtsd[1:2] * transmit system interface ltd[1:8] ltck[1:8] mtscckb mtscfs * dpll fifo frame generator dpll dpll frame generator the other four of the framer #1~#8 dpll dpll dpll fifo frame generator dpll fifo frame generator dpll fifo frame generator dpll fifo frame generator any four of the framer #1~#8 tsccka lrck[1:8] note: * mtscfs, mtsd, mtssig are timed to mtscckb figure - 43. transmit multiplexed mode the bit determining the active edge of the mtscckb mtscfs fe (b3, e1 - 018h) mtsd mtssig de (b4, e1 - 018h) note: if the fe is not equal to the de, the active edge decided by the fe is one clock edge before the active edge decided by the de. the fe and the de of the eight framers should be set to the same value respectively. table - 30. active edge selection of mtscckb (in e1 transmit multiplexed mode) in the transmit multiplexed mode, the multiplexed transmit side sys- tem common clock b (mtscckb) is provided by the system side. it is used as a common timing clock for all eight framers. the speed of the mtscckb can be selected by the cms (b2, e1-018h) to be the same as the data to be transmitted (8.192mhz), or double the data (16.384mhz). if the speed of the mtscckb is double the data to be transmitted, there will be two active edges in one bit duration. in this case, the coff (b4, e1-01ch) determines the active edge to sample the signal on the mtsd and mtssig pins and the active edge to update the pulse on the mtsfs pin; however, the pulse on the mtscfs is always sampled on its first active edge. however, if the cms (b2, e1-018h) or the coff (b4, e1-01ch) of any of the eight framers is configured as logic 1, all the others are taken as logic 1. that is, the cms (b2, e1- 018h) and the coff (b4, e1-01ch) of the eight framers should be configured to the same value in the transmit multiplexed mode. in the transmit multiplexed mode, the transmit side system com- mon clock a (tsccka) is provided by the system side. it is used as one of the reference clocks for the transmit jitter attenuator dpll for all eight framers (refer to the transmit clock for details). in the transmit multiplexed mode, the multiplexed transmit side sys- tem common frame pulse (mtscfs) is used as a common framing signal to align data streams on the two multiplexed buses . the mtscfs is asserted on each basic frame of the selected first framer. the valid polarity of the mtscfs is congifured by the fpinv (b3, e1-019h). the fpinv (b3, e1-019h) of the eight framers should be set to the same value. in the transmit multiplexed mode, the bit rate on the mtsd pin is 8.192mb/s. in the transmit multiplexed mode, the mtssig inputs the signaling bits to be inserted. the signaling bits are timeslot aligned with the data input from the mtsd. the signaling bits may replace the data on ts16 when the ccs is disabled and the sigsrc (b4, e1-tplc-indirect regis- ters - 61~7fh) in the tplc block is logic 0. figure - 44 & 45 show the functional timing examples. bit 1 of each timeslot is the first bit to be transmitted. 3.13.1.4 parity check in all the above four modes, parity check is calculated over the bits in the previous basic frame and the result is inserted into the first bit (msb) of ts0 on the tsdn/mtsd pin. the even parity or odd parity is selected by the tptyp (b7, e1-01ah) and whether the first bit of ts0 is calculated or not is determined by the pty_extd (b3, e1-01ah). the parity error event will be captured by the tdi (b5, e1-01ah). the parity error will cause an interrupt on the int pin if the tptye (b6, e1-01ah) is enabled.
64 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the cms (b2, e1-018h) is logic 0, i.e., the bankplane clock rate is 8.192mbit/s. the fe (b3, e1-018h) is logic 0 and the de (b4, e1-018) is logic 0. in this example, framer1 to framer4 are supposed to be demultiplexed from one multiplexed bus. the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the chi and the boff[2:0] of the four framers are set to logic 0: mtscfs mtscckb mtsd mtssig 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 3 4 5 6 7 8 2 1 1 4 5 6 1 2 3 7 framer1_ts0 framer2_ts0 framer3_ts0 framer4_ts0 framer1_ts31 a b c d a b c d a b c d a b c d a b c d d 8 ltdn ltck n ts0-1 ts0-2 ts31-8 ts31-7 1 ts0-3 ts0-4 ts0-5 ts0-6 ts0-7 ts0-8 x x x x x x x x x x x x x x x x x x x x line interface (of any of the framer1 to framer4): figure - 44. e1 transmit multiplexed mode - functional timing example 1 mtscfs mtscckb 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 2 3 4 5 6 7 8 3 4 5 6 7 8 2 1 1 4 5 6 1 2 3 7 framer1_ts0 framer2_ts0 framer3_ts0 framer4_ts0 framer1_ts31 a b c d a b c d a b c d a b c d a b c d d 8 ts0-1 ts0-2 ts31-8 ts31-7 1 ts0-3 ts0-4 ts0-5 ts0-6 ts0-7 ts0-8 mtsd mtssig ltdn ltckn x x x x x x x x x x x x x x x x x x x x the cms (b2, e1-018h) is logic 1, i.e., the bankplane clock rate is 16.384mbit/s. the fe (b3, e1-018h) is logic 1 and the de (b4, e1-018) is logic 0. the coff (b4, e1-01ch) is in its default value. in this example, framer1 to framer4 are supposed to be demultiplexed from one multiplexed bus. the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the chi and the boff[2:0] of the four framers are set to logic 0: line interface (of any of the framer1 to framer4): figure - 45. e1 transmit multiplexed mode - functional timing example 2
65 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer fe de boff[2:0] (b2~0, e1-01ch) (b3, e1-018h) (b4, e1-018h) 000 001 010 011 100 101 110 111 0 0 4 6 8 10 12 14 16 18 0 1 3 5 7 9 11 13 15 17 cer 1 0 3 5 7 9 11 13 15 17 1 1 4 6 8 10 12 14 16 18 fe de boff[2:0] (b2~0, e1-01ch) (b3, e1-018h) (b4, e1-018h) 000 001 010 011 100 101 110 111 0 0 6 10 14 18 22 26 30 34 0 1 7 11 15 19 23 27 31 35 cer 1 0 7 11 15 19 23 27 31 35 1 1 6 10 14 18 22 26 30 34 table - 31. transmit system interface bit offset (chi [b3, e1-01ch] = 1, cms [b2, e1-018h] = 0) table - 32. transmit system interface bit offset (chi [b3, e1-01ch] = 1, cms [b2, e1-018h] = 1) 3.13.1.5 offset in the transmit clock slave mode and transmit multiplexed mode, timeslot offset is enabled by setting a non-zero value into the tsoff[6:0] (b6~0, e1-01bh). the timeslot offset is between the tscfs/mtscfs and the start of the corresponding frame to be trans- mitted on the tsdn/mtsd. the timeslot offset can be set in both single clock mode (cms [b2, e1-018h] = 0) and double clock mode (cms [b2, e1-018h] = 1). in all the above four modes, bit offset is enabled by setting a non- zero value into the boff[2:0] (b2~0, e1-01ch). in transmit clock slave mode and transmit multiplexed mode, the bit offset is between the tscfs/mtscfs and the start of the corresponding frame to be trans- mitted on the tsdn/mtsd. the bit offset can be set in both single clock mode (cms [b2, e1-018h] = 0) and double clock mode (cms [b2, e1- 018h] = 1). however, if the chi (b3, e1-01ch) is logic 0, the bit offset value equals the setting in the boff[2:0] (b2~0, e1-01ch). that is, ?000? in the boff[2:0] (b2~0, e1-01ch) means no bit offset; ?001? in the boff[2:0] (b2~0, e1-01ch) means one bit offset, and so on (refer to the examples in figure - 46 and figure - 47). if the chi (b3, e1-01ch) is logic 1, the bit offset configured in the boff[2:0] (b2~0, e1-01ch) meets the concentration highway interface (chi) specification (refer to table - 31 and table - 32). the cer (clock edge receive) is counted from the active edge of the tscfs/mtscfs (refer to the examples in figure - 48 and figure - 49). when the bit offset is configured, the signal on the tssign/mtssig or the pulse on the tsfsn is aligned to the rsdn/mrsd. in transmit clock master mode, the bit offset is between the tsfsn and the start of the corresponding frame to be transmitted on the tsdn. in this case, the chi specification is not supported and the bit offset value equals the setting in the boff[2:0] (b2~0, e1-01ch) (refer to the example in figure - 50). 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 for example: in transmit clock slave mode, cms (b2, e1-018h) = 0, de (b4, e1-018h) = 0, fe (b3, e1-018h) = 0: tscfs tscckb tsdn the chi (b3, e1-01ch) = 0 and the bit offset is 0: ts31 ts0 ts2 the bit offset is set as: chi (b3, e1-01ch) = 0, boff[2:0] (b2~0, e1-01ch) = 010; i.e. 2-bit offset: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 ts31 ts0 ts2 tsdn figure - 46. transmit bit offset in e1 mode - 1
66 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 for example: in transmit clock slave mode, cms (b2, e1-018h) = 0, de (b4, e1-018h) = 0, fe (b3, e1-018h) = 0: tscfs tscckb tsdn the chi (b3, e1-01ch) = 0 and the bit offset is 0: ts31 ts0 ts2 the bit offset is set as: chi (b3, e1-01ch) = 1, boff[2:0] (b2~0, e1-01ch) = 000; i.e. cer = 4: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 ts31 ts0 ts2 tsdn starting edge (cer=0) 1 2 3 cer=4 figure - 48. transmit bit offset in e1 mode - 3 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 for example: in transmit clock slave mode, cms (b2, e1-018h) = 1, fe (b3, e1-018h) = 1, de (b4, e1-018h) = 1: tscfs tscckb tsdn the chi (b3, e1-01ch) = 0 and the bit offset is 0: ts31 ts0 ts2 the bit offset is set as: chi (b3, e1-01ch) = 0, boff[2:0] (b2~0, e1-01ch) = 010; i.e. 2-bit offset: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 ts31 ts0 ts2 tsdn figure - 47. transmit bit offset in e1 mode - 2
67 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 for example: in transmit clock slave mode, cms (b2, e1-018h) = 1, fe (b3, e1-018h) = 1, de (b4, e1-018h) = 1: tscfs tscckb tsdn the chi (b3, e1-01ch) = 0 and the bit offset is 0: ts31 ts0 ts2 the bit offset is set as: chi (b3, e1-01ch) = 1, boff[2:0] (b2~0, e1-01ch) = 000; i.e. cer = 6: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 ts31 ts0 ts2 tsdn starting edge (cer=0) 1 2 3 4 5 cer=6 figure - 49. transmit bit offset in e1 mode - 4 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 for example: in transmit clock master mode, de (b4, e1-018h) = 1, tsfsrise (b2, e1-002h) = 1: tsfsn ltckn tsdn the bit offset is 0: ts31 ts0 ts2 the bit offset is set as: boff[2:0] (b2~0, e1-01ch) = 001; i.e. 1-bit offset: 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 ts31 ts0 ts2 tsdn figure - 50. transmit bit offset in e1 mode - 5
68 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer rate[1:0] (b3~2, t1/j1 - 005h) emode[1:0] (b7~6, t1/j1 - 005h) operation mode 10 transmit clock slave tsfs enable 00 / 01 * 11 transmit clock slave external signaling 00 01 transmit clock master 11 (in any of the eight framers) 11 transmit multiplexed n ote: * when the rate[1:0] are ?00?, the system clock rate is 1.544mhz. when the rate[1:0] are ?01?, the system clock rate is 2.048mhz, i.e., t1/j1 mode e1 rate. table - 34. operation mode selection in t1/j1 transmit path 3.13.2 t1 / j1 mode in t1/j1 mode, the transmit system interface can be set in non- multiplexed mode or multiplexed mode. in non-multiplexed mode, the tsdn pin is used to input the data to each framer at the bit rate of 1.544 mb/s or 2.048 mb/s (t1/j1 mode e1 rate). while in the multiplexed mode, the data input to the eight framers are converted to 2.048 mb/s format and byte interleaved from two high speed data streams and input on the mtsd1 and mtsd2 pins at the bit rate of 8.192 mb/s. in the non-multiplexed mode, if the timing signal for clocking data on the tsdn pin is provided by the system side and shared by all eight framers, the transmit system interface should be set in transmit clock slave mode. if the timing signal for clocking data on each tsdn pin is provided from each line side (processed timing signal), the transmit system interface should be set in transmit clock master mode. in the non-multiplexed mode, if there is a common framing pulse provided by the system side for the eight framers, the transmit system interface should be set in transmit clock slave mode. if there is not a common framing pulse, the transmit system interface should be set in transmit clock master mode. in the transmit clock slave mode, if the multi-function pin tsfsn/ tssign is used to output the framing indication pulse, the transmit system interface is in transmit clock slave tsfs enable mode. if the tsfsn/tssign is used to input the signaling bits to be inserted, the transmit system interface is in transmit clock slave external signaling mode. the t1/j1 mode e1 rate, which means the system clock rate is 2.048 mhz in t1/j1 mode, can only be supported in the transmit clock slave mode. in the transmit clock master mode, the multi-function pin tsfsn/ tssign is used as tsfsn to input the framing indication pulse. table - 33 summarizes the transmit system interface in different operation modes. to set the transmit system interface of each framer into various operation modes, the registers must be configured as table - 34. 3.13.2.1 transmit clock slave mode in the transmit clock slave mode, the bit rate on the tsdn pin is 1.544 mb/s. however, if the system clock rate is 2.048mhz, the data to be transmitted should be converted into the same rate as the line side, that is, to work in t1/j1 mode e1 rate. thus the rate[1:0] (b3~2, t1/j1- 005h) should be set to ?01?. the conversion complies as follows: the last bit of the frame n of the system side is the f-bit of the frame n in the device. then one byte of the system side is discarded after the previ- ous three bytes are converted into the device. this process repeats eight times and the conversion of one frame is completed. then the process goes on (refer to figure - 51). in the transmit clock slave mode, the transmit side system com- mon clock b (tscckb) is provided by the system side. it is used as a common timing clock for all eight framers. the speed of the tscckb can be 1.544mhz or 2.048mhz. when it is 2.048mhz, the tscckb can be selected by the cms (b5, t1/j1-015h) to be the same as the data (2.048mb/s), or double the data (4.096mb/s). the cms (b5, t1/j1- 015h) of the eight framers should be set to the same value. if the speed of the tscckb is double of the data, there will be two active edges in one bit duration. in this case, the coff (b4, t1/j1-015h) determines the active edge to sample the signal on the tsdn and tssign pins and the active edge to update the pulse on the tsfsn pin; however, the pulse on the tscfs is always sampled on its first active edge. in the transmit clock slave mode, the transmit side system com- mon clock a (tsccka) is provided by the system side. it is used as one of the reference clocks for the transmit jitter attenuator dpll for all eight framers (refer to the transmit clock for details). in the transmit clock slave mode, the transmit side system com- mon frame pulse (tscfs) is used as a common framing signal to align operation mode data pin clock pin framing pin signaling pin reference clock non- clock slave tsfs enable tsdn tscckb tscfs & tsfsn no tsccka multiplexed mode external signaling tsdn tscckb tscfs tssign tsccka mode clock master mode tsdn ltckn tsfsn no tsccka & tscckb multiplexed mode mtsd mtscckb mtscfs mtssig tsccka table - 33. t1/j1 mode transmit system interface in different operation modes
69 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer data streams for the eight framers. the tscfs is asserted on the re- quest of each f-bit or the first f-bit of every 12 sfs / every 24 esfs, which is indicated by the tscfsp (b1, t1/j1-005h). the valid polarity of the tscfs is configured by the fpinv (b5, t1/j1-005h). the transmit clock slave mode includes two sub-modes: transmit clock slave tsfs enable mode and transmit clock slave external signaling mode. 3.13.2.1.1 transmit clock slave tsfs enable mode in this mode (refer to figure - 35), the data on the system interface are clocked by the tscckb. the active edge of the tscckb to sample the pulse on the tscfs and the data on the tsdn and tsfsn is deter- mined by the following bits in the registers (refer to table - 35). figure - 52 to 54 show the functional timing examples. bit 1 of each channel is the first bit to be transmitted. besides all the common functions described in the transmit clock slave mode, the special feature in this mode is that the multi-functional pin tsfsn/tssign is used as tsfsn to output a framing pulse to indi- cate every f-bit. the bit determining the active edge of the tscckb tscfs tsd tscckbfall (b3, t1/j1 - 004h) tsfs tsfsrise (b5, t1/j1 - 004h) note: the tscckbfall (b3, t1/j1 - 004h) of the eight framers should be set to the same value to ensure the tscfs for the eight framer s is sampled on the same active edge. table - 35. active edge selection of tscckb (in t1/j1 transmit clock slave tsfs enable mode) ts0 ts1 ts2 ts3 ts4 ts5 ts6 ts31 ts0 ch1 ch2 ch3 ch4 ch5 ch24 the last bit f discarded discarded the last bit discarded f ts2 ch1 2.048m bit/s 1.544m bit/s figure - 51. e1 to t1/j1 format conversion the cms (b5, t1/j1-015h) is logic 0. the bankplane rate is 1.544mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 1. ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 tscckb tscfs tsdn tsfsn tsfsn (when the tsfsrise (b5, t1/j1-004) is logic 0:) (when the tsfsrise (b5, t1/j1-004) is logic 1:) figure - 52. t1/j1 transmit clock slave tsfs enable mode - functional timing example 1
70 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ch24 dummy p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch1 tscckb tscfs tsdn the cms (b5, t1/j1-015h) is logic 0. the bankplane clock rate is 2.048mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 0. tsfsn tsfsn (when the tsfsrise (b5, t1/j1-004) is logic 0:) (when the tsfsrise (b5, t1/j1-004) is logic 1:) ch24 dummy p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch1 tscckb tscfs tsdn the cms (b5, t1/j1-015h) is logic 1. the bankplane clock rate is 4.096mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 0. the coff (b4, t1/j1-015h) is in its default value. tsfsn tsfsn (when the tsfsrise (b5, t1/j1-004) is logic 0:) (when the tsfsrise (b5, t1/j1-004) is logic 1:) figure - 53. t1/j1 transmit clock slave tsfs enable mode - functional timing example 2 figure - 54. t1/j1 transmit clock slave tsfs enable mode - functional timing example 3
71 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.13.2.1.2 transmit clock slave external signaling mode in this mode (refer to figure - 38), the data on the system interface are clocked by the tscckb. the active edge of the tscckb to sample the pulse on the tscfs and the data on the tsdn and tssign is deter- mined by the tscckbfall (b3, t1/j1-004h). the tscckbfall (b3, t1/j1-004h) of the eight framers should be set to the same value to en- sure the tscfs for the eight framers is sampled on the same active edge. figure - 55 to 57 show the functional timing examples. bit 1 of each channel is the first bit to be transmitted. besides all the common functions described in the transmit clock slave mode, the special feature in this mode is that the multi-functional pin tsfsn/tssign is used as tssign to input the signaling. the signaling on the tssign pin may be configured by the abxxen (b4, t1/ j1-005h) to be valid only in the upper two-bit positions of the lower nib- ble of each channel (i.e. xxxxabxx) in t1 esf mode. ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 tscckb tscfs tsdn x x x x x x x x x x x x x a x x x x a b c d tssign the cms (b5, t1/j1-015h) is logic 0. the bankplane rate is 1.544mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 0. ch24 dummy p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch1 tscckb tscfs tsdn p x x x x x x x x x x x a b x x x x a b c d tssign the cms (b5, t1/j1-015h) is logic 0. the bankplane rate is 2.048mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 1. figure - 55. t1/j1 transmit clock slave external signaling mode - functional timing example 1 figure - 56. t1/j1 transmit clock slave external signaling mode - functional timing example 2
72 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ch24 dummy p x x x x x x f 1 2 3 4 5 6 1 2 3 4 5 6 7 8 ch1 tscckb tscfs tsdn p x x x x x x x x x x x a b x x x x a b c d tssign the cms (b5, t1/j1-015h) is logic 1. the bankplane clock rate is 4.096mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 1. figure - 57. t1/j1 transmit clock slave external signaling mode - functional timing example 3 3.13.2.2 transmit clock master mode in the transmit clock master mode (refer to figure - 41), the trans- mit side system common clock a (tsccka) and transmit side system common clock b (tscckb) provided by the system side are used as one of the reference clocks for the transmit jitter attenuator dpll for all eight framers (refer to the transmit clock for details). in the transmit clock master mode, the multi-functional pin tsfsn/ tssign is used as tsfsn to output a framing pulse to indicate every f- bit. in the transmit clock master mode, the bit rate on the tsdn pin is 1.544mb/s. in the transmit clock master mode, each framer uses its own proc- essed clock signal on ltckn pin to sample/update the data on the sys- tem interface. the active edge of the ltckn to sample the data on the tsdn pin is determinded by the tsdfall (b1, t1/j1-004h). the active edge of the ltckn to update the pulse on the tsfsn pin is determinded by the tsfsrise (b5, t1/j1-004h). figure - 58 shows the functional timing examples. bit 1 of each chan- nel is the first bit to be transmitted. 3.13.2.3 transmit multiplexed mode in this mode (refer to figure - 43), two multiplexed buses are used to input the data to all eight framers. selected by the mtbs (b6, t1/j1- 015h) in each framer, the data on one of the two multiplexed buses is byte-interleaved input to up to four framers. when each four framers are selected, the input sequence of the data on the multiplexed bus is ar- ranged by setting the channel offset tsoff[6:0] (b6~0, t1/j1-014h). the data for a different framer from one multiplexed bus must be shifted by a different channel offset to avoid data mixing. then the data on the multiplexed bus will be input to each of the four selected framers with a byte-interleaved manner. in the transmit multiplexed mode, the data on the system interface are clocked by the mtscckb. the active edge of the mtscckb to sample the data on the mtscfs, mtsd and mtssig is determined by the tscckbfall (b3, t1/j1-004h). the tscckbfall (b3, t1/j1- 004h) of the eight framers should be set to the same value. in the transmit multiplexed mode, the multiplexed transmit side sys- tem common clock b (mtscckb) is provided by the system side. it is used as a common timing clock for all eight framers. the speed of the mtscckb can be selected by the cms (b5, t1/j1-015h) to be the same as the data to be transmitted (8.192mhz), or double the data (16.384mhz). if the speed of the mtscckb is double the data to be transmitted, there will be two active edges in one bit duration. in this case, the coff (b4, t1/j1-015h) determines the active edge to sample the signal on the mtsd and mtssig pins and the active edge to update the pulse on the mtsfs pin; however, the pulse on the mtscfs is al- ways sampled on its first active edge. if the cms (b5, t1/j1-015h) or the coff (b4, t1/j1-015h) of any of the eight framers is configured as logic 1, all the others are taken as logic 1. that is, the cms (b5, t1/j1- 015h) and the coff (b4, t1/j1-015h) of the eight framers should be configured to the same value in the transmit multiplexed mode. in the transmit multiplexed mode, the transmit side system com- mon clock a (tsccka) is provided by the system side. it is used as one of the reference clocks for the transmit jitter attenuator dpll for all eight framers (refer to the transmit clock for details). in the transmit multiplexed mode, the multiplexed transmit side sys- tem common frame pulse (mtscfs) is used as a common framing sig- nal to align data streams on the two multiplexed buses . the mtscfs is asserted on the f-bit of the selected first framer. the valid polarity of the mtscfs is congifured by the fpinv (b5, t1/j1-005h). the fpinv (b5, t1/j1-005h) of the eight framers should be the same value. in the transmit multiplexed mode, the bit rate on the mtsd pin is 8.192mb/s. in the transmit multiplexed mode, the mtssig input the signaling bits to be inserted. the signaling bits are channel aligned with the data input from the mtsd. the signaling on the mtssig pin may be configured by the abxxen (b4, t1/j1-005h) to be valid only in the upper two-bit positions of the lower nibble of each channel (i.e. xxxxabxx) in t1 esf mode. figure - 59 ~ 60 show the functional timing examples. bit 1 of each channel is the first bit to be transmitted.
73 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ltckn is 1.544m ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 ltckn tsfsn tsdn when the tsfsrise (b5, t1/j1-004h) is logic 1 and the tsdfall (b1, t1/j1-004) is logic 1: ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 tsfsn tsdn ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 tsfsn tsdn ch24 ch1 f 1 2 3 4 5 6 7 8 1 2 3 4 5 1 2 3 4 5 6 7 8 ch2 tsfsn tsdn when the tsfsrise (b5, t1/j1-004h) is logic 0 and the tsdfall (b1, t1/j1-004) is logic 0: when the tsfsrise (b5, t1/j1-004h) is logic 0 and the tsdfall (b1, t1/j1-004) is logic 1: when the tsfsrise (b5, t1/j1-004h) is logic 1 and the tsdfall (b1, t1/j1-004) is logic 0: figure - 58. t1/j1 transmit clock master mode - functional timing example
74 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer mtscfs mtscckb f framer1_ch1 4 5 6 1 2 3 8 7 f f f p 8 b a d c p d p p p p p p mtsd mtssig ch1-1 ch1-2 ch24-8 f ch1-3 ch1-4 ch1-5 ch24-7 ltdn ltckn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x the cms (b5, t1/j1-015h) is logic 0, i.e., the bankplane rate is 8.192mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 1. in this example, framer1 to framer4 are supposed to be demultiplexed from one multiplexed bus. the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the boff[2:0] of the four framers are set to logic 0: f-bit parity bit framer2 f-bit parity bit framer3 f-bit parity bit f-bit parity bit framer1 line interface (of any of the framer1 to framer4). ltckn is 1.544m: framer4 mtscfs mtscckb f framer1_ch1 4 5 6 1 2 3 8 7 f f f p 8 b a d c p d p p p p p p mtsd mtssig ch1-1 ch1-2 ch24-8 ch1-3 ch1-4 ch1-5 ch24-7 ltdn ltckn x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x f-bit the cms (b5, t1/j1-015h) is logic 1, i.e., the bankplane clock rate is 16.384mbit/s. the tscckbfall (b3, t1/j1-004h) is logic 0. in this example, framer1 to framer4 are supposed to be demultiplexed from one multiplexed bus. the tsoff[6:0] of framer1 are set to 7'b0000000, the tsoff[6:0] of framer2 are set to 7'b0000001, the tsoff[6:0] of framer3 are set to 7'b0000010, the tsoff[6:0] of framer4 are set to 7'b0000011, the boff of the four framers are set to logic 0: line interface (of any of the framer1 to framer4). ltck is 1.544m: f-bit parity bit framer2 f-bit parity bit framer3 f-bit parity bit f-bit parity bit framer1 framer4 figure - 59. t1/j1 transmit multiplexed mode - functional timing example 1 figure - 60. t1/j1 transmit multiplexed mode - functional timing example 2
75 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.13.2.4 parity check in the above four modes, parity check is calculated over the bits in the previous frame and the result is input into the f-bit on the tsdn/mtsd and tssign/mtssig pin. the even parity or odd parity is selected by the tptyp (b7, t1/j1-002h) and whether the f-bit is calculated or not is determined by the pty_extd (b3, t1/j1-002h). the parity error event on the tsdn pin will be captured by the tsdi (b5, t1/j1-002h) and the parity error event on the tssign pin will be captured by the tssigi (b4, t1/j1-002h). the tsdi (b5, t1/j1-002h) and tssigi (b4, t1/j1-002h) will be cleared after being read. the parity error will cause an interrupt on the int pin if the tprtye (b6, t1/j1-002h) is enabled. 3.13.2.5 offset when the system clock rate is 2.048mhz (in transmit clock slave t1/j1 mode e1 rate mode) or 8.192mhz (in transmit multiplexed mode), the channel offset and/or bit offset between the tscfs/mtscfs and the start of the corresponding frame on the tsdn/mtsd can be configured. the channel offset and bit offset can be set in both single clock mode (cms [b5, t1/j1-015h] = 0) and double clock mode (cms [b5, t1/j1-015h] = 1). the channel offset is enabled by setting a non-zero value into the tsoff[6:0] (b6~0, t1/j1-014h). the tsoff[6:0] (b6~0, t1/j1-014h) give a binary representation. the bit offset is enabled by setting a non-zero value into the boff[2:0] (b2~0, t1/j1-015h). the bit offset value equals the setting in the boff[2:0] (b2~0, t1/j1-015h). that is, ?000? in the boff[2:0] (b2~0, t1/j1-015h) means no bit offset; ?001? in the boff[2:0] (b2~0, t1/j1-015h) means one bit offset, and so on (refer to the examples in figure - 61 and figure - 62). when the bit offset is configured, the signal on the tssign/mtssig or the pulse on the tsfsn is aligned to the rsdn/mrsd. 1 2 3 4 5 6 7 8 p x x x x x x f 1 2 3 4 for example: in transmit clock slave mode, cms (b5, t1/j1-015h) = 1, tscckbfall (b3, t1/j1-004h) = 0: tscfs tscckb tsdn the bit offset is 0: ch24 dummy ch1 the bit offset is set as: boff[2:0] (b2~0, e1-01ch) = 011; i.e. 3-bit offset: 1 2 3 4 5 6 7 8 p x x x x x x f 1 2 3 4 ch24 dummy ch1 tsdn figure - 62. transmit bit offset in t1/j1 mode - 2 1 2 3 4 5 6 7 8 x x x x x x f 1 2 3 4 for example: in transmit clock slave mode, cms (b5, t1/j1-015h) = 0, tscckbfall (b3, t1/j1-004h) = 1: tscfs tscckb tsdn the bit offset is 0: ch24 dummy ch1 the bit offset is set as: boff[2:0] (b2~0, e1-01ch) = 010; i.e. 2-bit offset: 1 2 3 4 5 6 7 8 ch24 tsdn p x x x x x x f 1 2 3 4 dummy ch1 p figure - 61. transmit bit offset in t1/j1 mode - 1
76 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.14 transmit p a yload control (tplc) different test patterns can be inserted in the data to be transmitted or the data to be transmitted can be extracted to the prbs generator/de- tector for test in this block. the transmit payload control of each framer operates independently. 3.14.1 e1 mode to enable the test for the data to be transmitted, the pcce (b0, e1- 060h) must be set to activate the setting in the indirect registers (from 20h to 7fh of tplc indirect registers). the following methods can be used for test on a per-ts basis: - selected by the prgdsel[2:0] (b7~5, e1-00ch), the data to be transmitted on one of the eight framers will be extracted to the prbs generator/detector when the rxpatgen (b2, e1-00ch) is 1. the data can be extracted in framed or unframed mode. the selection is made by the un_det (b0, e1-00ch). in unframed mode, all 32 timeslots are ex- tracted and the per-timeslot configuration in the test (b3, e1-tplc-in- direct registers - 20~3fh) is ignored. in framed mode, the data to be transmitted will only be extracted on the timeslot configured by the test (b3, e1-tplc-indirect registers - 20~3fh). refer to the section of prbs genera t or / detect or (prgd) for details. - enable the payload loopback by setting the loop (b2, e1-tplc-in- direct registers - 20~3fh) (refer to payload loopback). - replace the data input from the tsdn/mtsd pin with the -law or a-law milliwatt pattern (refer to table - 8 & table - 9) when the subs (b7, e1-tplc-indirect registers - 20~3fh), the ds0 (b4, e1-tplc-indi- rect registers - 20~3fh) and the ds1 (b5, e1-tplc-indirect registers - 20~3fh) are logic 1,1,1 or 1,1,0 respectively. - selected by the prgdsel[2:0] (b7~5, e1-00ch), the test pattern from the prbs generator/detector will replace the data input from the tsdn/mtsd pin of one of the eight framers when the rxpatgen (b2, e1-00ch) is 0. the test pattern can replace the data in framed or unframed mode. the selection is made by the un_gen (b1, e1-00ch). in unframed mode, all the 32 timeslots are replaced and the per-timeslot configuration in the test (b3, e1-tplc-indirect registers - 20~3fh) is ignored. in framed mode, the received data will only be replaced on the timeslot configured by the test (b3, e1-tplc-indirect registers - 20~3fh). refer to the section of prbs genera t or / detect or (prgd) for details. - replace the data input from the tsdn/mtsd pin with the value in the idle[7:0] (b7~0, e1-tplc-indirect registers - 40~5fh) when the subs (b7, e1-tplc-indirect registers - 20~3fh) and the ds0 (b4, e1- tplc-indirect registers - 20~3fh) are logic 1,0. - invert the odd bits, even bits or all bits input from the tsdn/mtsd pin when the subs (b7, e1-tplc-indirect registers - 20~3fh), the ds0 (b4, e1-tplc-indirect registers - 20~3fh) and the ds1 (b5, e1-tplc- indirect registers - 20~3fh) are logic 0,0,1 or 0,1,0 or 0,1,1 respectively. (the above methods are arranged from highest to lowest in priority.) - replace the signaling input from the tssign pin with the value in the a, b, c, d (b3~0, e1-tplc-indirect registers - 61~7fh) with the sigsrc (b4, e1-tplc indirect registers - 61~7fh) being logic 1 when the channel associated signaling (cas) is selected by the sigen (b6, e1-040h) & dlen (b5, e1-040h). addressed by the a[6:0] (b6~0, e1-062h), the data read from or writ- ten into the indirect registers are in the d[7:0] (b7~0, e1-063h). the read or write operation is determined by the r/wb (b7, e1-062h). the indirect registers have a read/write cycle. before the read/write operation is com- pleted, the busy (b7, e1-061h) will be set. new operations on the indi- rect registers can only be implemented when the busy (b7, e1-061h) is cleared. the read/write cycle is 490ns. 3.14.2 t1 / j1 mode to enable the test for the data to be transmitted, the pcce (b0, t1/ j1-030h) must be set to activate the setting in the indirect registers (from 01h to 48h of tplc indirect registers). the following methods can be executed for test on a per-channel basis: - selected by the prgdsel[2:0] (b7~5, t1/j1-00fh), the data to be transmitted on one of the eight framers will be extracted to the prbs generator/detector when the rxpatgen (b2, t1/j1-00fh) is 1. the data can be extracted in framed or unframed mode. the selection is made by the un_det (b0, t1/j1-00fh). in unframed mode, all 24 chan- nels and the f-bit are extracted and the per-channel configuration in the test (b3, t1/j1-tplc-indirect registers - 01~18h) is ignored. in framed mode, the data to be transmitted will only be extracted on the channel specified by the test (b3, t1/j1-tplc-indirect registers - 01~18h). fractional t1/j1 data can also be extracted in the specified channel when the nx56k_det (b3, t1/j1-00fh) is set. refer to the section of the prbs genera t or / detect or (prgd) for details. - enable three types of zero code suppression when the zcs[1:0] (b1~0, t1/j1-tplc-indirect registers - 01~18h) is configured. - enable the payload loopback by setting the loop (b2, t1/j1-tplc- indirect registers - 01~18h) (refer to payload loopback). - replace the data input from the tsdn/mtsd pin with the milliwatt pattern when the dmw (b5, t1/j1-tplc-indirect registers - 01~18h) is logic 1. (the milliwatt is -law. refer to table - 9.) - selected by the prgdsel[2:0] (b7~5, t1/j1-00fh), the test pattern from the prbs generator/detector will replace the data input from the tsdn pin of one of the eight framers when the rxpatgen (b2, t1/j1- 00fh) is 0. the test pattern can replace the data in framed of unframed mode. the selection is made by the un_gen (b1, t1/j1-00fh). in unframed mode, all the 24 channels and the f-bit are replaced and the per-channel configuration in the test (b3, t1/j1-tplc-indirect registers - 01~18h) is ignored. in framed mode, the received data will only be re- placed on the channel specified by the test (b3, t1/j1-tplc-indirect registers - 01~18h). fractional t1/j1 signal can also be replaced in the specified channel when the nx56k_gen (b4, t1/j1-00fh) is set. refer to the section of prbs genera t or / detect or (prgd) for details. - replace the data input from the tsdn/mtsd pin with the value in the idle[7:0] (b7~0, t1/j1-tplc-indirect registers - 19~30h) when the idle_ds0 (b6, t1/j1-tplc-indirect registers - 01~18h) is set. - invert the most significant bit and/or the other bits in a channel input from the tsdn pin when the signinv and the invert (b4 & b7, t1/j1- tplc-indirect registers - 01~18h) is set. (the above methods are arranged from highest to lowest in priority.) - replace the signaling input from the tssign pin with the value in the a, b, c, d (b3~0, t1/j1-tplc-indirect registers - 31~48h) when the sigc[1:0] (b7~6, t1/j1-tplc-indirect registers - 31~48h) is configured. the data of all channels can be selected by the gzcs[1:0] (b1~0, t1/ j1-044h) to be in gte and bell zero code suppression when the bits in a channel are all zeros. the setting in the gzcs[1:0] (b1~0, t1/j1-044h) are logically ored with the setting in the zcs[1:0] (b1~0, t1/j1-tplc- indirect registers - 01~18h). addressed by the a[6:0] (b6~0, t1/j1-032h), the data read from or written into the indirect registers are in the d[7:0] (b7~0, t1/j1-033h).
77 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the read or write operation is determined by the r/wb (b7, t1/j1- 032h). before the read/write operation is completed, the busy (b7, t1/ j1-031h) will be set. new operations on the indirect registers can only be implemented when the busy (b7, t1/j1-031h) is cleared the read/ write cycle is 650ns. 3.15 frame genera t or (frmg) the frame generator of each framer operates independently. 3.15.1 e1 mode in e1 mode, the frame generator can generate basic frame, crc-4 multi-frame and channel associated signaling (cas) multi-frame. the frame generator can also transmit alarm indication signal when special conditions occurs in the received data stream. international bits, national bits and extra bits replacement and data invertion are all supported in the frame generator. generation in e1 mode, the data to be transmitted can be formed to be basic frame, crc-4 multi-frame and signaling multi-frame. the basic frame is generated when the fdis (b3, e1-040h) is logic 0. the basic frame alignment sequence (fas) - x0011011 will replace the data on the ts0 of each even frame and a logic 1 should be fixed in the 2nd bit of each odd frame. the crc-4 multi-frame is generated by setting the gencrc (b4, e1-040h) when the indis (b1, e1-040h) is logic 0. the crc-4 multi- frame alignment pattern - 001011 will replace the data on the interna- tional bits of the odd basic frames 1~11, and the calculated crc bits will replace the data on the international bits of the even basic frames. the crc bits are calculated every sub multi-frame (smf) and located in the next smf. if the data input from the tsdn pin have already been in crc multi-frame format, the crc bits can be modified by setting the pathcrc (b4, e1-002h) to transmit the crc-4 transparently or modify the crc-4 bits. the signaling multi-frame is generated by setting the sigen (b6, e1-040h) & the dlen (b5, e1-040h) to logic 1 (cas enable). the signaling multi-frame alignment pattern - 0000 will replace the higher nibble (b1 ~ b4) of the ts16 of basic frame 0, and the signaling source selected by the sigsrc (b4, e1-tplc-indirect registers - 61~7fh) will replace the data on ts16 of basic frame 1~15 (refer to transmit pay- load control). when the signaling multi-frame is not generated, setting a logic one in the mtrk (b7, e1-041h) will substitute the idle code set in the idle[7:0] (b7~0, e1-tplc-indirect registers - 40~5fh) for all the data on the ts1~31. when the signaling multi-frame is generated, the setting will only substitute the idle code for the ts1~15 and ts17~31. the ts16 is occupied by signaling. however, the mtrk (b7, e1-041h) takes effect only when the pcce (b0, e1-060h) in the transmit payload control is logic 1. alarm indication when special conditions occurs in the received data stream, alarm in- dication will be transmitted automatically. the alarm indication can also be transmitted manually. a logic 1 in the 3rd bit of nfas (a bit) is the remote alarm indication (rai) signal. it is controlled by the remais (b3, e1-041h), the autoyellow (b3, e1-000h) and the g706rai (b0, e1-00eh) as illus- trated in table - 36. when crc-4 multi-frame is generated, the international bits of frame 13 & 15 (e1 & e2 bits) are used for febe indication only if the febedis (b2, e1-040h) is logic 0. when there are crc calculated errors in smf i or smf ii in the received data stream, a logic 0 will be automatically re- placed in the e1 or the e2 bit for indication respectively. when the re- ceived data are out of crc-4 multi-frame synchronization, the e1 and e2 bits can be forced to be logic 0 or logic 1, which is selected by the oocmfe0 (b1, e1-00eh). when signaling multi-frame is generated, the 6th bit of ts16 of frame 0 (y bit) is for signaling multi-frame alarm indication. a logic 1 in the y bit means the signaling multi-frame alarm. however, the value of the y bit can be forced to be logic 0 or logic 1 by the mfais (b2, e1- 041h). control over international / national / extra bits after the basic frame is generated, the international bits (the first bit in ts0) can be replaced with the indis (b1, e1-040h) being logic 0. the setting in the si[1:0] (b7~6, e1-042h), the crc-4 multi-frame and febe signal can all replace the international bits. their priorities are controlled by the gencrc (b4, e1-040h) and the febedis (b2, e1- 040h) and illustrated in table - 37. when the setting in the sax[1:4] (b3~0, e1-047h) is activated by the corresponding sax_en[1:4] (b7~4, e1-047h), it will replace the data on the national bits whose position is selected by the sasel[2:0] (b7~5, e1- 046h). when signaling multi-frame is generated, the extra bits (bits 4, 6 & 7 in ts16 of frame 0 of the signaling multi-frame) can be replaced with the setting in the x[2:0] (b0~1 & b3, e1-043h) if the xdis (b0, e1-040h) is logic 0. remais (b3, e1 - 041h) autoyellow (b3, e1 - 000h) g706rai (b0, e1 - 00eh) remote alarm indication signal 1 - - manually force the remote alarm indication signal to be logic 1. 0 (per etsi) the rai is transmitted in any of the four conditions occurred in th e received data stream: 1. out of basic frame; 2. during aisd; 3. in crc - 4 to non - crc - 4 interworking; 4. the offline searching is out of basic frame sync. 0 1 1 (per annex b of g.706) the rai is transmitted in any of the two conditions occurred in the recei ved data stream: 1. out of basic frame; 2. during aisd. 0 0 - the rai is not transmitted, that is, logic 0 is forced to transmit in its position. table - 36. remote alarm indication
78 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer diagnostics for diagnostic purposes, three kinds of data invertion can be ex- ecuted: 1. when basic frame is generated, the fas can be inverted from ?0011011? to ?1100100? by setting the fpatinv (b6, e1-041h); 2. when basic frame is generated, the 2nd bit of the nfas can be inverted from ?1? to ?0? by setting the splrinv (b5, e1-041h); 3. when signaling multi-frame is generated, the signaling multi- frame alignment pattern can be inverted from ?0000? to ?1111? by setting the spatinv (b4, e1-041h). of all the operations, transmitting all ones take the highest priority. all ones can be transmitted only in ts16 when the ts16ais (b1, e1-041h) is set. all ones can also be transmitted on all the timeslots when the ais (b0, e1-041h) is set. a fifo is employed in the frame generator to store the data stream to be transmitted. the fifo can be initiated by setting the fresh (b7, e1-040h). interrupt summary the interrupt sources are summaried in table - 38. when the condi- tions are met, the corresponding interrupt status bit will be logic 1. then the interrupt will occur on the int pin if the interrupt enable bit is logic 1. 3.15.2 t1 / j1 mode in t1/j1 mode, the data to be transmitted can be either the super frame (sf) or the extended super frame (esf) format. the selection is made by the esf (b4, t1/j1-044h). the sf/esf is generated on the base of the uf (b6, t1/j1-046h) and the fdis (b3, t1/j1-006h) are logic 0, that is, the f-bit can be re- placed with the frame alignment pattern, dl and crc-6 (the dl and crc-6 bits only exist in the esf format). thus, the fas can be replaced in its position when the fbitbyp (b2, t1/j1-006h) is logic 0. in sf for- mat, the frame alignment pattern is ?10001101110x? and replaces the f- bit of each frame input from the tsdn pin (refer to table - 3). in esf for- mat, the frame alignment pattern is ?001011? and replaces the f-bit in every 4th frame starting with frame 4. the crc-6 can replace the f-bit in every 4th frame starting with frame 2 if the crcbyp (b1, t1/j1- 006h) is logic 0. the crc-6 algorithm is selected between the t1 stand- ard and the j1 standard by the j1_crc (b6, t1/j1-044h). the dl bits will replace the f-bit in every other frame starting with frame 1 when the fdlbyp (b0, t1/j1-006h) is logic 0 (refer to table - 4). before the data coming into the frame generator, if the sigc[1:0] (b7~6, t1/j1-tplc-indirect registers - 31~48h) select the signaling bit input from the tsdn pin to be replaced with the signaling input from the tssign pin, the signaling bit of all channels can be replaced with the signaling of the 1st frame when the sigaen (b5, t1/j1-006h) is set. this configuration is to avoid the signaling change in the middle of a sf/ esf. the data input from the tsdn pin will be replaced by the code set in the idle[7:0] (b7~0, t1/j1-tplc-indirect registers - 19~30h) when the mtrk (b7, t1/j1-044h) is set. when the mtrk (b7, t1/j1-044h) is set, the signaling bits of all channels may also be replaced by the signaling input from the tssign pin or the data set in the a, b, c, d (b3~0, t1/j1- tplc-indirect registers - 31~48h) according to the setting in the sigc[1:0] (b7~6, t1/j1-tplc-indirect registers - 31~48h) . the m trk (b7, t1/j1-044h) takes effect only when the pcce (b0, t1/j1-030h) in no. interrupt sources indication bits interrupt mask bits 1 the end of the first frame of a signaling multi - frame is input to the frame generator when signaling multi - frame is generated and coincides with the crc multi - frame. sigmfi (b4, e1 - 045h) sigmfe ( b4, e1 - 044h) 2 the end of the first frame of a crc - 4 multi - frame is input to the frame generator when crc multi - frame is generated. mfi (b2, e1 - 045h) mfe (b4, e1 - 044h) 3 the end of the first frame of a crc - 4 sub multi - frame is input to the frame generato r when crc multi - frame is generated. smfi (b1, e1 - 045h) smfe (b4, e1 - 044h) 4 the boundary of a fas is input to the frame generator when basic frame is generated. fasi (b3, e1 - 045h) fase (b4, e1 - 044h) table - 38. interrupt summary gencrc (b4, e1 - 040h) febedis (b2, e1 - 040h) the data on the international bits 0 - the international bits of the fas frame represent the setting in the si[1] (b7, e1 - 042h), while the international bits of the nfas frame represent the setting in the si[0] ( b6, e1 - 042h). 1 0 the international bits of the fas frame represent the calculated crc - 4 bits; the international bits of the former six nfas frames represent the crc - 4 alignment sequence (001011). the other two international bits in frame 13 & 15 represen t whether there are crc - 4 calculated errors in the received data stream (febe). 1 1 the international bits of the fas frame represent the calculated crc - 4 bits; the international bits of the former six nfas frames represent the crc - 4 alignment sequence (0 01011). the other two international bits in frame 13 & 15 represent the setting in the si[1:0] (b7~6, e1 - 042h) respectively. table - 37. content in international bits (when the indis [b1, e1-040h] is logic 0)
79 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer the tplc is logic 1. configured by the txmfp (b1, t1/j1-00ah) , the mimic pattern can be inserted in the 1st bit of each channel. the content of the mimic pat- tern is the same as the f-bit. the mimic pattern insertion is for diagnos- tic purposes. the yellow alarm signal can be inserted in the data stream to be transmitted when the xyel (b2, t1/j1-045h) is enabled. the alarm sig- nal pattern is selected between the t1 and j1 mode by the j1_yel (b5, t1/j1-044h). the pattern is: - in t1 sf format: transmit the logic 0 on the 2nd bit of each channel. - in j1 sf format: transmit the logic 1 on the 12th f-bit. - in t1 esf format: transmit the ?ff00? on each dl of f-bit. - in j1 esf format: transmit the ?ffff? on each dl of f-bit. the yellow alarm signal can also be inserted automatically by setting the autoyellow (b3, t1/j1-000h) when red alarm is declared in the received data stream. in esf format, if the yellow alarm signal is stopped by setting the xyel (b2, t1/j1-045h) to be logic 0, a yellow alarm disabled pattern will be transmitted automatically. in t1 mode, the pattern is ?ffff?. in j1 mode, the pattern is ?ff7e?. the disable pattern should be repeated 16 times before the boc (refer to bit-oriented message transmitter) or the hdlc bits (refer to hdlc transmitter) are inserted in the dl bit. the yellow alarm takes the highest priority in these three kinds of insertion. if there are no yellow alarm signal, no boc, no hdlc bits or notplc insertion in the dl of the f-bit, the dl position will be forced to transmit ?ffff? in t1 mode or ?7e7e? in j1 mode continuously. a fifo is employed in the frame generator to store the data stream to be transmitted. the fifo can be initiated by setting the fresh (b7, t1/j1-006h). 3.16 hdlc transmitter (thdlc) the hdlc data insertion is performed in this block. the hdlc trans- mitters #1, #2 and #3 in e1 mode or the hdlc transmitter #1 and #2 in t1/j1 mode esf format of each framer operate independently. 3.16.1 e1 mode three hdlc transmitter blocks are provided for each framer to trans- mit a hdlc link. before selecting the hdlc link, the txcisel (b3, e1- 0ah) should be set to 1. thus, the congifuration of link control and bits select registers (addressed from 028h to 02dh) is for thdlc. the thdlcsel[1:0] (b5~4, e1-00ah) select one of the three hdlc control- lers to be accessed by the microcontroller. the #2 and #3 blocks can also be disabled by setting the v52dis (b3, e1-007h). the functionality of the hdlc link can be defined as the follows: 1. set the dl_even (b7, e1-028h or b7, e1-02ah or b7, e1-02ch) and/or the dl_odd (b6, e1-028h or b6, e1-02ah or b6, e1-02ch) to select the even and/or odd frames (the even frames are fas frames while the odd frames are nfas frames); 2. set the dl_ts[4:0] (b4~0, e1-028h or b4~0, e1-02ah or b4~0, e1-02ch) to select the timeslot of the assigned frame or to select the ts16_en (b5, e1-028h) to define the ts16 of the assigned frame (this hdlc link can only be set in the #1 block and is enabled when the ccs is selected by the sigen [b6, e1-040h] and the dlen [b5, e1-040h]); 3. set the dl_bit[7:0] (b7~0, e1-029h or b7~0, e1-02bh or b7~0, e1-02dh) to select the bit of the assigned timeslot. thereafter, the hdlc packet will replace the data on the assigned data link. all the functions of the selected hdlc transmitter block can be realized only if the en (b0, e1-050h) is set to logic 1; otherwise, all ones will be transmitted on the assigned data link. a normal hdlc packet (refer to figure - 3) is started with a 7e (hex) flag, then the hdlc data are transmitted. before closing, two bytes of crc-ccitt frame check sequences (fcs) are added if the crc (b1, e1-050h) is enabled. the hdlc packet is closed with another 7e flag. however, if the flgshare (b7, e1-050h) is set, the closing flag of the current hdlc packet and the opening flag of the next hdlc packet are shared. a fifo buffer is used to store the hdlc data written to the td[7:0] (b7~0, e1-055h). the uthr[6:0] (b6~0, e1-051h) sets the upper threshold of the fifo. when the data exceed the fill level, the data will be transmitted. the opening flag will be prepended before the data auto- matically. the transmission won?t stop until the entire hdlc data are transmitted and the data in the fifo are below the upper threshold. the end of the current entire hdlc frame is set by the eom (b3, e1-050h). when it is set, the hdlc data should be transmitted even if they don?t exceed the upper threshold of the fifo. the fcs, if enabled, will be added before the closing flag automatically. zero stuffing is automatically performed to the serial output data when there are five consecutive ones in the hdlc data or in the fcs. a 7f (hex) abort sequence which deac- tivates the current hdlc packet can be inserted anytime the abt (b2, e1-050h) is set. when the abt (b2, e1-050h) is set, the current byte in the td[7:0] (b7~0, e1-055h) is still transmitted, and then the fifo is cleared and the 7f abort sequence is transmitted continuously. the low threshold of the fifo can be set in the lint[6:0] (b6~0, e1-052h), which should always be less than the value of the uthr[6:0] (b6~0, e1- 051h). the fifo can be cleared anytime the fifoclr (b6, e1-050h) is set. flags (7e) will consecutively be transmitted when there is no hdlc data to be transmitted if the data link is activated. four interrupt sources can be derived from this block. 1. when the data in the fifo is empty or less than the setting in the lint[6:0] (b6~0, e1-052h), the blfill (b5, e1-054h) will indicate. a transition from logic 0 to 1 on the blfill (b5, e1-054h) will cause a logic 1 in the lfilli (b0, e1-054h). the interrupt on the int pin will oc- cur when the lfille (b0, e1-053h) is enabled; 2. when the data in the fifo reach its maximum capacity - 128 bytes, the full (b6, e1-054h) will be set for indication. a transition from logic 0 to 1 on the full (b6, e1-054h) will cause a logic 1 in the fulli (b3, e1-054h). the interrupt on the int pin will occur when the fulle (b3, e1-053h) is enabled; 3. when the fifo has already been filled with 128 bytes and new data are still written to it, the fifo will overflow and the ovri (b2, e1- 054h) will be set for indication. the interrupt on the int pin will occur when the ovre (b2, e1-053h) is enabled. 4. when the transmission is in process and it is out of data to be transmitted in the fifo, the fifo is underrun and the udri (b1, e1- 054h) will be set for indication. the interrupt on the int pin will occur when the udre (b1, e1-053h) is enabled. 3.16.2 t1 / j1 mode in the sf format, there is no hdlc link. in the esf format, two hdlc transmitter blocks (#1 and #2) are em- ployed for each framer to transmit the hdlc link. before selecting the hdlc link, the txcisel (b3, t1/j1-00dh) should be set to 1. thus, the configuration of the link control and bits select registers (addressed from 070h to 071h) is for thdlc. selected by the thdlcsel[1:0]
80 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer (b5~4, t1/j1-00dh), registers in one of the two hdlc transmitter blocks are accessable to the microprocessor. the #1 block transmits the hdlc link in the dl of f-bit (its position is shown in the table - 4). the #2 block transmits the hdlc link in a channel and its position is selected as follows: 1. set the dl2_even (b7, t1/j1-070h) and/or the dl2_odd (b6, t1/j1-070h) to select the even and/or odd frames; 2. set the dl2_ts[4:0] (b4~0, t1/j1-070h) to select the channel of the assigned frame; 3. set the dl2_bit[7:0] (b7~0, t1/j1-071h) to select the bit of the assigned channel. all the functions of the selected hdlc transmitter block can be real- ized only if the en (b0, t1/j1-034h) is enabled; otherwise, all ones will be transmitted on the assigned data link. the structure of the hdlc packet (refer to figure - 3) is the same as it is described in the e1 mode. when the flgshare (b7, t1/j1-034h) is set, the closing flag of the current hdlc and the opening flag of the next hdlc is shared. a fifo buffer is used to store the hdlc data written to the td[7:0] (b7~0, t1/j1-039h). the uthr[6:0] (b6~0, t1/j1-035h) limit the upper threshold of the fifo. when the data exceed the fill level, the data will be transmitted. the opening flag will be added before the data automati- cally. the transmission won?t stop until an entire hdlc frame is trans- mitted and the data in the fifo is below the upper threshold. the end of the current entire hdlc frame is indicated by the eom (b3, t1/j1- 034h). when it is set, the hdlc data should be transmitted even if it does not exceed the upper threshold of the fifo. the fcs, if enabled by the crc (b1, t1/j1-034h), will be added before the closing flag auto- matically. zero stuffing is automatically performed to the serial output data when there are five consecutive ones in the hdlc data or in the fcs. a 7f abort sequence which deactivates the current hdlc packet can be inserted anytime the abt (b2, t1/j1-034h) is set. when the abt (b2, t1/j1-034h) is set, the current byte in the td[7:0] (b7~0, t1/j1- 039h) is still transmitted, and then the fifo is cleared and the 7f abort sequence is transmitted continuously. the low threshold of the fifo can be set in the lint[6:0] (b6~0, t1/j1-036h), which should always be less than the value of the uthr[6:0] (b6~0, t1/j1-035h). the fifo can be cleared anytime the fifoclr (b6, t1/j1-034h) is set. flags (7e) will consecutively be transmitted when there is no hdlc data to be trans- mitted during the data link activating. four interrupt sources can be derived from this block. 1. when the fifo is empty or the data in the fifo is less than the setting in the lint[6:0] (b6~0, t1/j1-036h), the blfill (b5, t1/j1-038h) will be set for indication. a transition from logic 0 to 1 on the blfill (b5, t1/j1-038h) will cause a logic 1 in the lfilli (b0, t1/j1-038h). the in- terrupt on the int pin will occur when the lfille (b0, t1/j1-037h) is enabled; 2. when the data in the fifo reach its maximum capacity - 128 bytes, the full (b6, t1/j1-038h) will be set for indication. a transition from logic 0 to 1 on the full (b6, t1/j1-038h) will cause a logic 1 in the fulli (b3, t1/j1-038h). the interrupt on the int pin will occur when the fulle (b3, t1/j1-037h) is enabled; 3. when the fifo has been filled with 128 bytes already and new data are still written to it, the fifo is will overflow and the ovri (b2, t1/ j1-038h) will be set for indication. the interrupt on the int pin will occur when the ovre (b2, t1/j1-037h) is enabled. 4. when the transmission is in process and it is out of data to be transmitted in the fifo, the fifo is underrun and the udri (b1, t1/j1- 038h) will be set for indication. the interrupt on the int pin will occur when the udre (b1, t1/j1-037h) is enabled. 3.17 bit -oriented message transmitter (tbom) - t1 / j1 onl y the bit oriented message (bom) can only be transmitted in the esf format in t1/j1 mode. the standard of the bom is defined in the ansi t1.403-1989. the bit oriented message (bom) of each framer operates independently. the bom pattern is ?111111110xxxxxx0? which occupies the dl of the f-bit in the esf format (refer to table - 4). the six ?x?s represent the code that can be programmed in the boc[5:0] (b5~0, t1/j1-05dh). when the boc[5:0] (b5~0, t1/j1-05dh) are written with the bits other than the ?111111?, they will occupy the six ?x?s? positions and the bom will be transmitted. if the bom transmission is stopped by setting all ones in the boc[5:0] (b5~0, t1/j1-05dh), a bom disabled pattern will be transmit- ted automatically. in t1 mode, the pattern is ?ffff?. in j1 mode, the pat- tern is ?ff7e?. the disable pattern should be repeated 16 times before the hdlc bits (refer to hdlc transmitter) are inserted in the dl bit. the transmission of the bom takes priority over any other substitutions of the dl bit except for the yellow alarm signal. 3.18 inband loopback code genera t or (ibcg) - t1 / j1 onl y the inband loopback code generator can only transmit inband loopback code in a framed or unframed t1/j1 data stream. the inband loopback code generator of each framer operates independently. the length and the content of the inband loopback code are pro- grammed in the cl[1:0] (b1~0, t1/j1-046h) and the ibc[7:0] (b7~0, t1/ j1-047h) respectively. the code can only be transmitted when the en (b7, t1/j1-046h) is enabled. in framed mode, which is configured by the uf (b6, t1/j1-046h), the f-bit can be replaced by the frame alignment pattern, dl and crc-6 which are set in the frame generator block and the 24 channels are replaced with the inband loopback code. in un- framed mode, which is configured by the uf (b6, t1/j1-046h), all 193 bits are replaced with the inband loopback code. it is recommended that the setting of the en (b7, t1/j1-046h) and the uf (b6, t1/j1-046h) should be the same. 3.19 jitter a ttenua t or (rja t/tja t) the jitter attenuator of each framer operates independently 3.19.1 e1 mode two jitter attenuators are provided independently in the receive path and the transmit path. the jitter attenuator integrates a fifo and a dpll. the smoothed clock output from the jitter attenuator is generated by adaptively dividing the 49.152mhz xck according to the phase difference between the out- put smoothed clock and the input reference clock. the ratio between the frequency of the input reference clock and the frequency applied to the phase discriminator input is equal to the (n1 + 1) (the n1 is in b7~0, e1- 021h for receive path and in b7~0, e1-025h for transmit path). the ratio between the frequency of the output smoothed clock and the frequency applied to the phase discriminator input is equal to the (n2 + 1) (the n2
81 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer is in b7~0, e1-022h for receive path and in b7~0, e1-026h for transmit path). the phase fluctuations of the input reference clock are attenuated by dividing the input reference clock and output smoothed clock by the (n1 + 1) and the (n2 + 1) respectively in the dpll so that the frequency of the output smoothed clock is equal to the average frequency of the in- put reference clock. the phase fluctuations with a jitter frequency above 8.8hz are attenuated by 6db per octave when the n1 (b7~0, e1-021h for receive path and b7~0, e1-025h for transmit path) and the n2 (b7~0, e1-022h for receive path and b7~0, e1-026h for transmit path) are set to their default value. it will change when the n1 and the n2 are changed. generally, when the n1 and the n2 increase, the curves of the jitter tolerance and jitter transfer in the graph will left-shift and when n1 and n2 decrease, they will right-shift. the phase fluctuations (wan- der) with frequency below 8.8hz are tracked by the output smoothed clock. the output smoothed clock is used to clock the data out of the fifo. the fifo is is 48 bits deep. if data is still written into the fifo when the fifo is already full, overflow will occur and the ovri (b1, e1-020h for receive path and b1, e1-024h for transmit path) will indicate. if data is still read from the fifo when the fifo is already empty, under-run will occur and the undi (b0, e1-020h for receive path and b0, e1-024h for transmit path) will indicate. thus, if the ovre (b2, e1-023h for re- ceive path and b2, e1-027h for transmit path) and the unde (b3, e1- 023h for receive path and b3, e1-027h for transmit path) are set re- spectively, the interrupts on the int pin will occur. the jitter attenuation can be limited by setting the limit (b0, e1-023h for receive path and b0, e1-027h for transmit path) to keep the fifo 1ui away from being full or empty. thus, the dpll will track the jitter of the input reference clock by increasing or decreasing the frequency of the output smoothed clock to prevent the fifo being empty or full. the fifo can also self- center its read pointer by setting the cent (b4, e1-023h for receive path and b4, e1-027h for transmit path). the fifo can be set to be by- passed by the fifobyp (b7, e1-000h for receive path and b7, e1-002h for transmit path). however, in transmit clock master mode, the tjat should be by- passed. jitter characteristics each jitter attenuator block provides excellent jitter tolerance and jitter attenuation while generating minimal residual jitter. it can accommodate up to 43uipp of input jitter at jitter frequencies above 9hz. for jitter frequencies below 9hz, which can be correctly called wander, the tolerance increases 20db per decade. in most applications the each jitter attenuator block will limit jitter tolerance at lower jitter frequencies only. for high frequency jitter, above 10khz for example, other factors such as clock and data recovery circuitry may limit jitter tolerance and must be considered. for low frequency wander, below 10hz for example, other factors such as slip buffer hysteresis may limit wander tolerance and must be considered. the jitter attenuator blocks meet the low frequency jitter tolerance requirements itu-t recommendation g.823. the jitter attenuator exhibits negligible jitter gain for jitter frequencies below 9hz, and attenuates jitter at frequencies above 9hz by 20db per decade. in most applications the jitter attenuator blocks will determine jitter attenuation for higher jitter frequencies only. wander, below 10hz for example, will essentially be passed unattenuated through the jitter attenuator. jitter, above 10hz for example, will be attenuated as specified, however, outgoing jitter may be dominated by the generated residual jitter in cases where incoming jitter is insignificant. this generated residual jitter is directly related to the use of 24x (49.152mhz) digital phase locked loop for transmit clock generation. the jitter attenuator meets the jitter transfer requirements of itu-t recommendations g.737, g.738, g.739, and g.742. jitter tolerance jitter tolerance is the maximum input phase jitter at a given jitter frequency that a device can accept without exceeding its linear operating range, or corrupting data. for the jitter attenuator, the input jitter tolerance is 43 uipp with no frequency offset. the frequency offset is the difference between the frequency of xck divided by 24 and that of the input reference clock. refer to figure - 63 for the jitter tolerance. jitter transfer the output jitter for jitter frequencies from 0 to 9 hz is no more than 0.1db greater than the input jitter. jitter frequencies above 9 hz are at- tenuated at a level of 6 db per octave, as shown in figure - 64. frequency range in the non-attenuating mode, that is, when the fifo is within one ui of overrunning or under running, the tracking range is 1.963 to 2.133 mhz. the guaranteed linear operating range is 2.048 mhz 1278 hz with no jitter or xck frequency offset.
82 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 9hz, - 3db frequency(hz) attenuation(db) 20db/decade 40hz,0.5db g.823 1 10 100 0 figure - 64. e1 mode jitter transfer (n1 = n2 = 2fh) 9hz,43ui frequency(hz) amp.(ui) 7hz,64ui 1 0.1 0.001 0.01 0.1 1 10 100 1000 10k 100k 10 100 g.823 4.88x10 - 3, 36.9ui 18ui 1.667,18ui 20,1.5ui 2.4k,1.5ui 18k,0.2ui figure - 63. e1 mode jitter tolerance (n1 = n2 = 2fh)
83 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.19.2 t1 / j1 mode two jitter attenuators are provided independly in the receive path and the transmit path. the jitter attenuator integrates a fifo and a dpll. the smoothed clock output from the jitter attenuator is generated by adaptively dividing the 37.056mhz xck according to the phase difference between the out- put smoothed clock and the input reference clock. the ratio between the frequency of the input reference clock and the frequency applied to the phase discriminator input is equal to the (n1 + 1) (the n1 is in b7~0, t1/ j1-011h for receive path and in b7~0, t1/j1-019h for transmit path). the ratio between the frequency of the output smoothed clock and the fre- quency applied to the phase discriminator input is equal to the (n2 + 1) (the n2 is in b7~0, t1/j1-012h for receive path and in b7~0, t1/j1-01ah for transmit path). the phase fluctuations of the input reference clock are attenuated by dividing the input reference clock and output smoothed clock by the (n1 + 1) and the (n2 + 1) respectively in the dpll so that the frequency of the output smoothed clock is equal to the average fre- quency of the input reference clock. the phase fluctuations with a jitter frequency above 6.6hz are attenuated by 6db per octave when the n1 (b7~0, t1/j1-011h for receive path and b7~0, t1/j1-019h for transmit path) and the n2 (b7~0, t1/j1-012h for receive path and b7~0, t1/j1- 01ah for transmit path) are in their default value. it will change when the n1 and the n2 are changed. generally, when the n1 and the n2 in- crease, the curves of the jitter tolerance and jitter transfer in the graph will left-shift and when n1 and n2 decrease, they will right-shift. the phase fluctuations (wander) with frequency below 6.6hz are tracked by the output smoothed clock. the output smoothed clock is used to clock the data out of the fifo. the fifo is 48 bits deep. if data is still written into the fifo when the fifo is already full, overflow will occur and the ovri (b1, t1/j1- 010h for receive path and b1, t1/j1-018h for transmit path) will indicate. if data is still read from the fifo when the fifo is already empty, underrun will occur and the undi (b0, t1/j1-010h for receive path and b0, t1/j1-018h for transmit path) will indicate. thus, if the ovre (b2, t1/j1-013h for receive path and b2, t1/j1-01bh for transmit path) and the unde (b3, t1/j1-013h for receive path and b3, t1/j1-01bh for transmit path) are set respectively, the interrupts on the int pin may oc- cur. the jitter attenuation can be limited by setting the limit (b0, t1/j1- 013h for receive path and b0, t1/j1-01bh for transmit path) to keep the fifo 1ui away from being full or empty,. thus, the dpll will track the jitter of the input reference clock by increasing or decreasing the fre- quency of the output smoothed clock to prevent the fifo being empty or full. the fifo can also self-center its read pointer by setting the cent (b4, t1/j1-013h for receive path and b4, t1/j1-01bh for transmit path). the fifo can be set to be bypassed by the fifobyp (b7, t1/j1-000h for receive path and b7, t1/j1-004h for transmit path). however, in transmit clock master mode, the tjat should be by- passed. jitter characteristics each jitter attenuator block provides excellent jitter tolerance and jitter attenuation while generating minimal residual jitter. it can accommodate up to 45ui of input jitter at jitter frequencies above 12hz. for jitter frequencies below 9 hz, which can be correctly called wander, the tolerance increases 20db per decade. in most applications the each jitter attenuator block will limit jitter tolerance at lower jitter frequencies only. for high frequency jitter, above 10khz for example, other factors such as clock and data recovery circuitry may limit jitter tolerance and must be considered. for low frequency wander, below 10hz for example, other factors such as slip buffer hysteresis may limit wander tolerance and must be considered. the jitter attenuator blocks meet the low frequency jitter tolerance requirements at&t tr 62411 for t1. the jitter attenuator exhibits negligible jitter gain for jitter frequencies below 7hz, and attenuates jitter at frequencies above 7hz by 20 db per decade. in most applications the jitter attenuator blocks will determine jitter attenuation for higher jitter frequencies only. wander, below 10 hz for example, will essentially be passed unattenuated through djat. jitter, above 10 hz for example, will be attenuated as specified, however, outgoing jitter may be dominated by the generated residual jitter in cases where incoming jitter is insignificant. this generated residual jitter is directly related to the use of 24x (37.056mhz) digital phase locked loop for transmit clock generation. the jitter attenuator meets the jitter transfer requirements of at&t tr 62411. the block allows to meet the implied jitter attenuation requirements for a te or nt1 given in ansi standard t1.408, and the implied jitter attenuation requirements for a type ii customer interface given in ansi t1.403. jitter tolerance jitter tolerance is the maximum input phase jitter at a given jitter frequency that a device can accept without exceeding its linear operating range, or corrupting data. for the jitter attenuator, the input jitter tolerance is 48 uipp with no frequency offset. the frequency offset is the difference between the frequency of xck divided by 24 and that of the input reference clock. refer to figure - 65 for the jitter tolerance. jitter transfer the output jitter for jitter frequencies from 0 to 7hz is no more than 0.1 db greater than the input jitter. jitter frequencies above 7hz are at- tenuated at a level of 6 db per octave, as shown in figure - 66. frequency range in the non-attenuating mode, that is, when the fifo is within one ui of overrunning or under running, the tracking range is 1.48 to 1.608 mhz. the guaranteed linear operating range is 1.544 mhz 963 hz (for t1) with no jitter or xck frequency offset.
84 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 12hz,45ui frequency(hz) amp.(ui) 4hz,76ui tr62411 ui(jitter) 100 0.1 0.1 1 10 1 10 100 1k 10k 100k 138ui 4.9hz,28ui 300hz,10ui 0.2ui 0.31hz,10ui 10hz,0.3ui tr - tsy - 000170 figure - 65. t1/j1 mode jitter tolerance (n1 = n2 = 2fh) 7hz, - 3db frequency(hz) attenuation(db) 20db/decade 20hz,0db 1k 10 1 100 10k 0 - 20 - 40 - 60 - 80 tr62411 figure - 66. t1/j1 mode jitter transfer (n1 = n2 = 2fh)
85 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.20 transmit clock the transmit clock of each framer operates independently. 3.20.1 e1 mode the transmit clock helps the transmit jitter attenuator to select the source of the input reference clock for the dpll, and selects the clock source used to drive the clock to be output on the ltckn pin. refer to figure - 67 for details. 3.20.2 t1 / j1 mode the transmit clock helps the transmit jitter attenuator to select the source of the input reference clock for the dpll, and selects the clock source used to drive the clock to be output on the ltckn pin. refer to figure - 67 for details. 3.21 line interf ace 3.21.1 e1 mode on the receive line interface, the received data on the lrdn pin are sampled on the active edge of the lrckn. the active edge of the tsccka transmit clock tscckb lrck xck/24 tsccka/8 selected by the tjatref_sel[2:0] (b5~3, e1-004h) / (b5~3, t1/j1-007h) input reference clock dpll data to be transmitted fifo transmit jitter attenuator output smoothed clock tsccka tscckb lrck xck/24 tsccka/8 selected by the ltck_sel[2:0] (b2~0, e1-004h) / (b2~0, t1/j1-007h) ltckn ltdn figure - 67. transmit clock select lrckn is selected by the rckfall (b7, e1-001h). on the transmit line interface, the data to be transmitted on the ltdn pin are updated on the active edge of the ltckn. the active edge of the ltckn is selected by the ltckrise (b0, e1-002h). all ones can be forced to transmit on the ltdn pin when the taisen (b6, e1-002h) is configured. all zeros can also be forced to transmitted when the txdis (b0, e1-007h) is configured. 3.21.2 t1 / j1 mode on the receive line interface, the received data on the lrdn pin are sampled on the active edge of the lrckn. the active edge of the lrckn is selected by the lrckfall (b2, t1/j1-003h). on the transmit line interface, the data to be transmitted on the ltdn pin are updated on the active edge of the ltckn. the active edge of the ltckn is selected by the ltckrise (b0, t1/j1-004h). all ones can be forced to transmitted on the ltdn pin when the taisen (b6, t1/j1- 004h) is configured. all zeros can also be forced to transmit when the txdis (b0, t1/j1-00ah) is configured.
86 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 3.22 interrupt summar y 3.22.1 e1 mode when the int pin asserts low, which means at least one interrupt has occurred in the device, reading the int[8:1] (b7~0, e1-00bh) will find in which framer the interrupt occurs. after reading the int regiser, the in- terrupt source bits from the interrupting framer are read. the interrupt source bits (pmon [b7, e1-005h], frmg [b6, e1-005h], frmp [b5, e1-005h], prgd [b4, e1-005h], elsb [b3, e1-005h], rhdlc#1 [b2, e1-005h], rhdlc#2 [b1, e1-005h], rhdlc#3 [b0, e1-005h], trsi [b7, e1-006h], tjat [b5, e1-006h], rjat [b4, e1-006h], thdlc#1 [b3, e1- 006h], thdlc#2 [b2, e1-006h], thdlc#3 [b1, e1-006h] and rcrb [b0, e1-006h]) will be logic 1 if there are interrupts in the corresponding block. to find the eventual interrupt sources, the interrupt indication and status bits in the block are polled if their interrupt enable bits are ena- bled. then the sources are served after they are found. 3.22.2 t1 / j1 mode when the int pin asserts low, which means at least one interrupt has occurred in the device, reading the int[8:1] (b7~0, t1/j1-00eh) will find that in which framer the interrupt occurs. after reading the int regiser, the interrupt source bits from the interrupting framer are read. the inter- rupt source bits (pmon [b7, t1/j1-008h], ibcd [b6, t1/j1-008h], frmp [b5, t1/j1-008h], prgd [b4, t1/j1-008h], elsb [b3, t1/j1- 008h], rhdlc#1 [b2, t1/j1-008h], rbom [b1, t1/j1-008h], almd [b0, t1/j1-008h], rhdlc#2 [b7, t1/j1-009h], tjat [b5, t1/j1-009h], rjat [b4, t1/j1-009h], thdlc#1 [b3, t1/j1-009h], thdlc#2 [b2, t1/j1- 009h] and rcrb [b0, t1/j1-009h]) will be logic 1 if there are interrupts in the corresponding block. to find the eventual interrupt sources, the in- terrupt indication and status bits in the block are polled if their interrupt enable bits are enabled. then the sources are served after they are found. however, another interrupt source bit prty (b6, t1/j1-009h) is pro- vided to route to the pending parity error. 3.23 loopback mode there are three diagnostic loopback modes: line loopback, digital loopback and payload loopback are provided in this device. 3.23.1 line loopback by programming the lineb (b4, e1-007h / b4, t1/j1-00ah), each framer can be set in the line loopback mode. in this configuration, the jitter-attenuated clock and data from the receive jitter attenuator are looped internally to the line transmit clock and data (ltdn and ltckn). however, the receive jitter attenuator can be bypassed if required. the received data stream is still output to the system side while the data stream input from the system side is ignored. figure - 68 shows the proc- ess. 3.23.2 digit al loopback by programming the ddlb (b2, e1-007h / b2, t1/j1-00ah), each framer can be set in the digital loopback mode. in this configuration, the data to be transmitted on the ltckn and ltdn are looped internally to the line receive clock and data (lrdn and lrckn). the data stream to be transmitted is still output to the line side while the data stream re- ceived from the line side is ignored. figure - 69 shows the process. 3.23.3 pa yload loopback by programming the loop (b2, e1-tplc-indirect registers-20~3fh / b2, t1/j1-tplc-indirect registers-10~18h) (the pcce [b0, e1-060h / b0, t1/j1-030h] in the tplc must be logic 1), each framer can be set in the payload loopback mode. when receive clock master modes are enabled, the elastic store is used to align the line received data to the frame to be transmitted. when receive clock slave modes are ena- bled, the elastic store is unavailable to implement the payload loop- backs, and loop-back functionality is provided only when the transmit system interfaces are also in a transmit clock slave mode, and the re- ceived and transmitting clocks and frame alignment are identical (rscck = tscckb, rscfs = tscfs). thus, the selected timeslot/ channel in the transmit path will be overwritten by the corresponding re- ceived timeslot/channel. the remaining timeslots/channels in the trans- mit path are intact. figure - 70 shows the process. 3.24 clock monit or the transition from low to high of the crystal clock (xck), the trans- mit side system common clock #a (tsccka), the transmit side sys- tem common clock #b (tscckb), the receive side system common clock (rscck) and the line receive clock (lrck) are monitored and are reported by the xck (b4, e1-00dh / b4, t1/j1-027h), the tscckb (b3, e1-00dh / b3, t1/j1-027h), the tsccka (b2, e1-00dh / b2, t1/j1- 027h), the rscck (b1, e1-00dh / b1, t1/j1-027h) and the lrck (b0, e1-00dh / b0, t1/j1-027h) respectively.
87 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer figure - 68. line loopback receive system interface rsfsn rsckn/ rssign rsdn receive payload control receive cas/rbs buffer elastic store buffer frame processor receive jitter attenuator lrckn lrdn hdlc receiver #1 inband loopback code detector prbs generator /detector transmit system interface transmit payload control frame generator transmit jitter attenuator transmit clock inband loopback code generator rscfs/ mrscfs rscck/ mrscck tsfsn/ tssign tscfs/ mtscfs tsdn tscckb/ mtscckb tsccka one of the eight framers ltckn ltdn xck #2 #3 hdlc transmitter #1 #2 #3 line loopback mrsfs[1:2] mrssig[1:2] mrsd[1:2] mtsd[1:2] mtssig[1:2] performance monitor alarm detector bit-oriented message receiver bit- oriented message transmitter
88 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer receive system interface rsfsn rsckn/ rssign rsdn receive payload control receive cas/rbs buffer elastic store buffer frame processor receive jitter attenuator lrckn lrdn hdlc receiver #1 prbs generator /detector transmit system interface transmit payload control frame generator transmit jitter attenuator transmit clock inband loopback code generator rscfs/ mrscfs rscck/ mrscck tsfsn/ tssign tscfs/ mtscfs tsdn tscckb/ mtscckb tsccka one of the eight framers ltckn ltdn xck #2 #3 hdlc transmitter #1 #2 #3 digital loopback mrsfs[1:2] mrssig[1:2] mrsd[1:2] mtsd[1:2] mtssig[1:2] performance monitor inband loopback code detector bit-oriented message receiver alarm detector bit- oriented message transmitter figure - 69. digital loopback
89 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer receive system interface rsfsn rsckn/ rssign rsdn receive payload control receive cas/rbs buffer elastic store buffer frame processor receive jitter attenuator lrckn lrdn hdlc receiver #1 prbs generator /detector transmit system interface transmit payload control frame generator transmit jitter attenuator transmit clock inband loopback code generator rscfs/ mrscfs rscck/ mrscck tsfsn/ tssign tscfs/ mtscfs tsdn tscckb/ mtscckb tsccka one of the eight framers ltckn ltdn xck #2 #3 hdlc transmitter #1 #2 #3 payload loopback mrsfs[1:2] mrssig[1:2] mrsd[1:2] mtsd[1:2] mtssig[1:2] performance monitor inband loopback code detector bit-oriented message receiver alarm detector bit-oriented message transmitter figure - 70. payload loopback
90 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 4 opera tion 4.1 e1 mode 4.1.1 def aul t setting when the device is powered-up, all the registers contain their default values. any of the eight framers can be reset anytime when the reset (b0, e1-00ah / b0, t1/j1-00dh) in its framer is set. the device can also be reset anytime when the rst pin is low for at least 100ns. after the hardware reset, the idt82v2108 will default to the following settings: function block default setting description line interface ? the lrdn inputs non-return to zero (nrz) data and are sampled on rising edge of the lrckn. ? the rjat clock divisors (n1, n2) are set to ?2f? . frame processor ? basic frame per g.704 with crc multi-frame enabled. ? channel associated signaling enabled. hdlc receiver #1, #2, #3 ? rhdlcs disabled. receive system interface ? in receive clock slave external signaling mode. ? the data on the rsdn, rssign pins are updated on rising edge of the rscck. ? rscfs indicates basic frame alignment. ? rsdn, rssign, rsfsn pins are held in high-impedance state. prgd ? the prgd is configured to monitor the extracted data patterns in frame one. - mode: the default operation mode of the device is t1 mode. when the e1 mode is desired, the temode (b0, 400h) must be set to logic 0. - receive path: the default setting of each block in the receive path is illustrated in table - 39. - transmit path: the default setting of each block in the transmit path is illustrated in table - 40. 4.1.2 v arious opera tion modes configura tion five operation modes can be set in the receive path and four opera- tion modes can be set in the transmit path. in each operation mode, the configurations in table - 41 and table - 42 are illustrated for reference. table - 39. default setting in receive path function block default setting description prgd ? the prgd is configured to insert test patterns to frame one. transmit system interface ? in transmit clock slave external signaling mode. ? the data on the tsdn and tssign pins are sampled on rising edge of tscckb. frame generator ? crc multi-frame is disabled. ? channel associated signaling is enabled. hdlc transmitter #1, #2, #3 ? thdlcs are disabled. line interface ? the ltdn outputs non-return to zero (nrz) data and is updated on falling edge of ltckn. ? tjat clock divisors (n1, n2) are set to ?2f? ? digital jitter attenuation is enabled. the pll is synchronized to the tscckb clock. the smoothed clock output from the pll is selected as the ltckn. table - 40. default setting in transmit path
91 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer mode register 1 value (from bit7 to bit0) description 2 001h 00000000 in receive clock slave rsck reference mode. the rsck is 8khz. receive clock 00eh 00001000 the output on the rsfsn pin is determined by the rohm, brxsmfp, brcmfp and altifp. slave rsck 010h 00100001 in receive clock slave mode. the fe and de are both 0. the receive backplane rate is 2.048mbit/s. reference mode 011h 00100000 the rscfs is used. 012h 00000001 enable the normal operation of the rsdn pin. 001h 01000000 in receive clock slave external signaling mode. receive clock 00eh 00001000 the output on the rsfsn pin is determined by the rohm, brxsmfp, brcmfp and altifp. slave external 010h 00100001 in receive clock slave mode. the fe and de are both 0. the receive backplane rate is 2.048mbit/s. signaling mode 011h 00100000 the rscfs is used. 012h 00000001 enable the normal operation of the rsdn and rssign pins. receive clock 010h 00001001 in receive clock master full e1 mode. the fe is logic 1 and the de is logic 0. master full e1 011h 00000000 the rscfs is un-used. 012h 00000001 enable the normal operation of the rsdn pin. receive 010h 10001001 in receive clock master nx64k mode. the fe is logic 1 and the de is logic 0. clock 011h 00000000 the rscfs is un-used. master 012h 00000001 enable the normal operation of the rsdn pin. fractional 05ch 00000011 enable the receive payload control. e1 20h-3fh (rplc 01000000 the code in the dtrk[7:0] replaces the data output on the rsdn pin in the mode indirect registers) corresponding channel. 001h 01001000 081h 01001000 multiplex the data stream of these four framers to the multiplexed bus 1. 101h 01001000 receive 181h 01001000 201h 01011000 281h 01011000 multiplex the data stream of these four framers to the multiplexed bus 2. multiplexed 301h 01011000 381h 01011000 010h 00111011 mode 090h 00111011 110h 00111011 190h 00111011 in receive multiplexed mode. the receive backplane rate is 8.192mbit/s. the fe 210h 00111011 is logic 1 and the de is logic 1. 290h 00111011 310h 00111011 390h 00111011 table - 41. various operation modes in receive path for reference
92 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer mode register 1 value (from bit7 to bit0) description 2 011h 00100000 091h 00100000 111h 00100000 receive 191h 00100000 the mrscfs is used. 211h 00100000 291h 00100000 multiplexed 311h 00100000 391h 00100000 012h 00000001 mode 092h 00000001 112h 00000001 192h 00000001 enable the normal operation of the mrsd and mrssig pins. (continued) 212h 00000001 292h 00000001 312h 00000001 392h 00000001 013h 00000000 tsoff[6:0] = 0. the timeslot offset is 0. 093h 00000001 tsoff[6:0] = 1. the timeslot offset is 1. 113h 00000010 tsoff[6:0] = 2. the timeslot offset is 2. 193h 00000011 tsoff[6:0] = 3. the timeslot offset is 3. 213h 00000000 tsoff[6:0] = 0. the timeslot offset is 0. 293h 00000001 tsoff[6:0] = 1. the timeslot offset is 1. 313h 00000010 tsoff[6:0] = 2. the timeslot offset is 2. 393h 00000011 tsoff[6:0] = 3. the timeslot offset is 3. note: 1. in the ?register? column, except for the receive multiplexed mode, the register position of the framer one is listed to represent the set of the registers of eight framers. the other registers position are tabulated in the ?register map?. however, in receive multiplexed mode, the register position of eight framers are all listed. 2. the ?description? illustrates the fundamental function of the operation mode. the others can be configured as desired. table - 41. various operation modes in receive path for reference (continued)
93 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 42. various operation modes in transmit path for reference mode register 1 value (from bit7 to bit0) description 2 018h 00100001 in transmit clock slave mode. the fe is logic 0 and the de is logic 0. transmit clock 003h 01000000 in transmit clock slave external signaling mode. 040h 01110000 channel associated signaling (cas) is enabled. the crc multi-frame is slave external generated. 004h 00001111 tscckb is selected as tjat input reference clock. smoothed clock is selected signaling mode as line transmit clock (ltck). 027h 00010000 the fifo is set to self-center its read pointer. 018h 00100001 in transmit clock slave mode. the fe is logic 0 and the de is logic 0. transmit clock 003h 00000000 in transmit clock slave tsfs enable mode. 040h 01110000 channel associated signaling (cas) is enabled. the crc multi-frame is slave tsfs generated. 004h 00001111 tscckb is selected as tjat input reference clock. smoothed clock is selected enable mode as line transmit clock (ltck). 027h 00010000 the fifo is set to self-center its read pointer. 018h 00011001 in transmit clock master full e1 mode. transmit clock 040h 01110000 channel associated signaling (cas) is enabled. the crc multi-frame is generated. master mode 004h 00100100 xck/24 is selected as tjat input reference clock. xck/24 is selected as line transmit clock (ltck). transmit 003h 01000000 the data stream is taken from the multiplexed bus 1. 083h 01010000 the data stream is taken from the multiplexed bus 2. 103h 01000000 the data stream is taken from the multiplexed bus 1. 183h 01010000 the data stream is taken from the multiplexed bus 2. 203h 01000000 the data stream is taken from the multiplexed bus 1. 283h 01010000 the data stream is taken from the multiplexed bus 2. multiplexed 303h 01000000 the data stream is taken from the multiplexed bus 1. 383h 01010000 the data stream is taken from the multiplexed bus 2. 018h 00110011 098h 00110011 118h 00110011 mode 198h 00110011 in transmit multiplexed mode. the fe is logic 0 and the de is logic 1. 218h 00110011 298h 00110011 318h 00110011 398h 00110011 01bh 00000000 tsoff[6:0] = 0. the timeslot offset is 0. 09bh 00000000 11bh 00000001 tsoff[6:0] = 1. the timeslot offset is 1. 19bh 00000001 21bh 00000010 tsoff[6:0] = 2. the timeslot offset is 2. 29bh 00000010 31bh 00000011 tsoff[6:0] = 3. the timeslot offset is 3. 39bh 00000011
94 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer mode register 1 value (from bit7 to bit0) description 2 040h 01110000 0c0h 01110000 140h 01110000 1c0h 01110000 channel associated signaling (cas) is enabled. the crc multi-frame is transmit 240h 01110000 generated. 2c0h 01110000 340h 01110000 multiplexed 3c0h 01110000 004h 00011101 084h 00011101 mode 104h 00011101 184h 00011101 tsccka is selected as tjat input reference clock. smoothed clock is selected 204h 00011101 as line transmit clock (ltck). (continued) 284h 00011101 304h 00011101 384h 00011101 027h 00010000 0a7h 00010000 127h 00010000 1a7h 00010000 the fifo is set to self-center its read pointer. 227h 00010000 2a7h 00010000 327h 00010000 3a7h 00010000 note: 1. in the ?register? column, except for the transmit multiplexed mode, the register position of the framer one is listed to represent the set of the registers of eight framers. the other registers position are tabulated in the ?register map?. however, in transmit multiplexed mode, the register position of eight framers are all listed. 2. the ?description? illustrates the fundamental function of the operation mode. the others can be configured as desired. table - 42. various operation modes in transmit path for reference (continued)
95 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 4.1.3 opera tion example in this chapter, some common operation examples are given for ref- erence. 4.1.3.1 using the hdlc receiver before using the hdlc receiver, the txcisel (b3, e1-00ah) must be set to 0 to enable the hdlc data link position for receive path. since three hdlc receive data links are integrated in one framer, one of the three hdlc receive data links must be selected in the rhdlcsel[1:0] (b7~6, e1-00ah). then the hdlc data link can be configured to extract from even and/or odd frames, from any timeslot, and from any bit. the following examples show how to select the hdlc receiver data link positions: a. to extract the hdlc data link from all bits of ts16 in hdlc re- ceive #1: - set the txcisel (b3, e1-00ah) to 0; - set the rhdlcsel[1:0] (b7~6, e1-00ah) to 00; - set the dl1_even (b7, e1-028h) to 0; - set the dl1_odd (b6, e1-028h) to 0; - set the ts16_en (b5, e1-028h) to 1. b. to extract the hdlc data link from the sa8 national bit in hdlc receive #1: - set the txcisel (b3, e1-00ah) to 0; - set the rhdlcsel[1:0] (b7~6, e1-00ah) to 00; - set the dl1_even (b7, e1-028h) to 0; - set the dl1_odd (b6, e1-028h) to 1; - set the ts16_en (b5, e1-028h) to 0; - set the dl 1_ts[4:0] (b4~0, e1-028h) to 00000 - set the dl1_bit[7:0] (b7~0, e1-029h) to 00000001. c. to extract the hdlc data link from all bits of ts20 of all frames in hdlc receive #2: - set the txcisel (b3, e1-00ah) to 0; - set the rhdlcsel[1:0] (b7~6, e1-00ah) to 01; - set the dl2_even (b7, e1-02ah) to 1; - set the dl2_odd (b6, e1-02ah) to 1; - set the dl2_ts [4:0] (b4~0, e1-02ah) to 10100; - set the dl2_bit [7:0] (b7~0, e1-02bh) to 11111111. after setting the hdlc data link position properly, the selected hdlc receiver should be enabled by setting the en (b0, e1-048h)to logic 1. if needed, set the men (b3, e1-048h) and the mm (b2, e1- 048h) to determine which address matching mode to be selected (refer to register description for details). after setting these 3 bits, the rhdlc primary address match register and the rhdlc secondary address match register should be set to proper values. if the intc[6:0] (b6~0, e1-049h) are set, whenever the number of bytes in the rhdlc fifo exceeds the value set in the intc[6:0] (b6~0, e1-049h), the intr (b0, e1-04ah) will be set to logic 1. this interrupt will persist until the rhdlc fifo becomes empty. setting the inte (b7, e1-049h) to logic 1 allows the internal interrupt status to be propagated to the int output pin. after setting these registers properly, the hdlc data can be received in a polled or interrupt driven mode. - interrupt driven mode when the inte (b7, e1-049h) is set to logic 1, if the int pin is asserted, the source of the interrupt should be first identified by reading the interrupt id register and interrupt source registers. if the source of the interrupt is hdlc receive, the interrupt service procedure will be carried out as shown in figure - 71. - polling mode in polling mode, the operation procedure is the same as figure - 71, except that the entry of the service is from a local timer rather than an interrupt. to summarize the procedure of using hdlc receive, a complete ex- ample is shown in table - 43. register value description 00ah 50h rhdlc #2 is selected. the hdlc receive is accessable to the cpu interface. 02ah c4h the ts4 of even frames and odd frames are selected. 02bh ffh all the 8 bits are selected. 048h 0dh the function of the rhdlc #2 is enabled. set the address match mode. 049h 8fh set the inte to 1. when the number of bytes in the rhdlc fifo exceeds 15, an interrupt is generated. 04ch 13h the primary address is set to 13h. 04dh ffh the secondary address is set to ffh. then read the data status in register 04ah. until a complete packet is received, read the data from register 04bh. table - 43. example for using hdlc receiver 4.1.3.2 using the hdlc transmitter before using the hdlc transmit, the txcisel (b3, e1-00ah) must be set to 1 to enable the hdlc data link position for transmit path. since three hdlc transmit data links are integrated in one framer, one of the three hdlc transmit data links must be selected in the thdlcsel[1:0] (b5~4, e1-00ah). then the hdlc data link can be configured to insert to even and/or odd frames, to any timeslot, and to any bit. the following examples show how to select the hdlc transmit data link positions: a. to insert the hdlc data link to all bits of ts16 in hdlc transmit #1: - set the txcisel (b3, e1-00ah) to 1; - set the thdlcsel [1:0] (b5~4, e1-00ah) to 00; - set the dl1_even (b7, e1-028h) to 0; - set the dl1_odd (b6, e1-028h) to 0; - set the ts16_en (b5, e1-028h) to 1. b. to insert the hdlc data link to the sa4-sa8 national bits in hdlc transmit #1: - set the txcisel (b3, e1-00ah) to 1; - set the thdlcsel [1:0] (b5~4, e1-00ah) to 00; - set the dl1_even (b7, e1-028h) to 0; - set the dl1_odd (b6, e1-028h) to 1; - set the ts16_en (b5, e1-028h) to 0;
96 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer int asserts rhdlc interrupt other block interrupt service read rhdlc status ovr=1 cols=1 pkin=1 read rhdlc data read rhdlc status ovr=1 cols=1 pkin=1 pbs[2:0]=? discard the last packet set empty fifo flag packet count * increment discard the last packet set empty fifo * flag packet count * increment store the packet data discard this data byte, set link active * flag discard this data byte, clear link active * flag store this byte, decrement the packet count *, check for crc or non-integer number of bytes errors before deciding whether to keep the packet or not. fe=1 end of interrupt service n y y n y n y n y n y n y n 000 001 010 1xx n y note: * the packet count, empty fifo and link active are local software variable. figure - 71. interrupt service in e1 mode hdlc receiver
97 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer - set the dl 1_ts[4:0] (b4~0, e1-028h) to 00000 - set the dl1_bit[7:0] (b7~0, e1-029h) to 00011111. c. to insert the hdlc data link to all bits of ts20 of all frames in hdlc transmit #3: - set the txcisel (b3, e1-00ah) to 1; - set the thdlcsel [1:0] (b5~4, e1-00ah) to 10; - set the dl3_even (b7, e1-02ch) to 1; - set the dl3_odd (b6, e1-02ch) to 1; - set the dl3_ts [4:0] (b4~0, e1-02ch) to 10100; - set the dl3_bit [7:0] (b7~0, e1-02dh) to 11111111. after setting the hdlc data link position properly, the selected hdlc transmit should be enabled by setting the en (b0, e1-050h) to logic 1. the fifoclr (b6, e1-050h) should be set and then cleared to initialize the thdlc fifo. set the crc (b1, e1-050h) to logic 1 if the frame check sequences (fcs) generation is desired. set the fulle (b3, e1-053h), ovre (b2, e1-053h), udre (b1, e1-053h) and lfille (b0, e1-053h) to logic 1 if interrupt driven mode is used. set thdlc upper transmit threshold and thdlc lower transmit threshold registers to the desired values. if a complete packet has been written into thdlc fifo, the eom (b3, e1-050h) should be set. after setting these registers properly, the hdlc data can be transmitted in a polled or interrupt driven mode. - interrupt driven mode writing hdlc data to thdlc fifo , the thdlc will transmit the hdlc data if the end of a packet was written or if the thdlc fifo fill level reaches the upper transmit threshold. the writing procedure is shown in figure - 72. when the fulle (b3, e1-053h), ovre (b2, e1-053h), udre (b1, e1-053h) and lfille (b0, e1-053h) are set to logic 1, if the int pin is asserted, the source of the interrupt should be identified firstly by reading the interrupt id register and interrupt source registers. if the source of the interrupt is hdlc transmit, the interrupt service procedure will be carried out as shown in figure - 73. - polling mode in packet transmission polling mode, the fulle (b3, e1-053h), ovre (b2, e1-053h), udre (b1, e1-053h) and lfille (b0, e1-053h) should be set to logic 0. the thdlc lower transmit threshold should be set to such a value that sufficient warning of an underrun is given. the procedure shown in figure - 74 should be followed. to summarize the procedure of using hdlc transmit, a complete ex- ample is shown in table - 44. thdlc initial data is available write data into thdlc fifo y n end of packet set eom y n figure - 72. writing data to e1 mode thdlc fifo register value description 00ah 58h thdlc #2 is selected. the hdlc transmit is accessable to the cpu interface. 02ah c4h the ts4 of even frames and odd frames are selected. 02bh ffh all the 8 bits are selected. 050h c3h the function of the thdlc #2 is enabled. the 050h 83h fcs is enables and the thdlc fifo is reset. 053h 0fh enable the thdlc interrupt enable bits. 055h 12h 055h 34h 055h 56h 055h 78h write data into thdlc fifo. 055h 9ah 055h bch 055h deh 055h ffh 050h 8bh end of packet and set the eom to 1. table - 44. example for using hdlc transmitter
98 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer int asserts thdlc interrupt other blocks interrupt service n fulli=1 undri=1 ovri=1 lfilli=1 full=1 start a timer 2 n y y y set the rlp flag 1 blfill=1 end of packet set eom y n y n y y end of interrupt service y n n n n note: 1. rlp-retransmit the last packet, a local software variable. 2. a local timer to wait for a certain time until the full = 0 or the blfill = 1. figure - 73. interrupt service in e1 mode hdlc transmitter
99 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer thdlc initial data is available read thdlc interrupt status full=1 write the data into the thdlc fifo more data to be tarnsmitted set eom wait, until full=0 or bblfill=1 n y y y n n figure - 74. polling mode in e1 mode hdlc transmitter 4.1.3.3 using the prbs generator / detector the idt82v2108 provides one prbs generator/detector block to generate and detect an enormous variety of pseudo-random and repetitive patterns to diagnose e1 data stream of all eight framers. the common test patterns are shown in tabular form in table - 45. the prbs generator/detector block can be used to test e1 line transmit-receive integrity and system backplane integrity. - example for testing e1 line transmit-receive integrity to monitor the errors in framer 2 without taking the entire e1 span off line, the following procedure should be done: - use the prgd block to test framer 2; - configure the prgd register; - chose a desired set of timeslots (for example ts2, ts4, ts5) for insertion/extraction of prgd test data; - set the far end of the line to loop back at least the selected timeslots; - monitor the e1 line transmit-receive integrity. to realize the above function, the configuration in table - 46 to table - 48 should be set. table - 46 is the configuration for prgd and loopback. table - 47 shows the process to initialize the tplc. table - 48 shows the process to initialize the rplc. after the above settings, read the prgd interrupt enable/status (071h) register twice. if the syncv (b4, e1-071h) is logic 1 and the bei (b2, e1-071h) is logic 0, the pattern detector is in synchronization state. then insert errors into this link. here suppose to insert 3 errors, then the configuration is shown in table - 49. - example for testing e1 system backplane integrity to test the e1 system backplane integrity, the rxpatgen (b2, e1- 00ch) should be set to logic 1 and the other registers are set as above. then the prgd can be used to test the system backplane integrity.
100 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pseudo-random pattern generation (the ps [b4, e1-070h] is logic 0) pattern type tr 1 lr 2 ir#1 3 ir#2 4 ir#3 5 ir#4 6 tinv 7 rinv 7 2 3 ?1 00 02 ff ff ff ff 0 0 2 4 ?1 00 03 ff ff ff ff 0 0 2 5 -1 01 04 ff ff ff ff 0 0 2 6 ?1 04 05 ff ff ff ff 0 0 2 7 ?1 (fractional t1 lb activate) 00 06 ff ff ff ff 0 0 2 7 ?1 (fractional t1 lb activate) 03 06 ff ff ff ff 0 0 2 7 ?1 03 06 ff ff ff ff 1 1 2 9 ?1 (o.153) 04 08 ff ff ff ff 0 0 2 10 -1 02 09 ff ff ff ff 0 0 2 11 -1 (o.152,o.153) 08 0a ff ff ff ff 0 0 2 15 -1 (o.151) 0d 0e ff ff ff ff 1 1 2 17 -1 02 10 ff ff ff ff 0 0 2 18 -1 06 11 ff ff ff ff 0 0 2 20 -1 (o.153) 02 13 ff ff ff ff 0 0 2 21 -1 01 14 ff ff ff ff 0 0 2 22 -1 00 15 ff ff ff ff 0 0 2 23 -1 (o.151) 11 16 ff ff ff ff 1 1 2 25 -1 02 18 ff ff ff ff 0 0 2 28 -1 02 1b ff ff ff ff 0 0 2 29 -1 01 1c ff ff ff ff 0 0 2 31 -1 02 1e ff ff ff ff 0 0 repetitive pattern generation (the ps [b4, e1-070h] is logic 1) pattern type tr 1 lr 2 ir#1 3 ir#2 4 ir#3 5 ir#4 6 tinv 7 rinv 7 all ones 00 00 ff ff ff ff 0 0 all zeros 00 00 fe ff ff ff 0 0 alternatingones/zeros 00 01 fe ff ff ff 0 0 double alternatingones/zeros 00 03 fc ff ff ff 0 0 3 in 24 00 17 22 00 20 ff 0 0 1 in 16 00 0f 01 00 ff ff 0 0 1 in 8 00 07 01 ff ff ff 0 0 1 in 4 00 03 f1 ff ff ff 0 0 ds1 inbandloopback activate 00 04 f0 ff ff 0f 0 0 ds1 inbandloopback deactivate 00 02 fc ff ff ff 0 0 note: 1. tr - tap register 2. lr - shift register length register 3. ir#1 - prgd pattern insertion #1 register 4. ir#2 - prgd pattern insertion #2 register 5. ir#3 - prgd pattern insertion #3 register 6. ir#4 - prgd pattern insertion #4 register 7. tinv, rinv - contained in the prgd control register table - 45. test pattern
101 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer register value 0e3h 00h 0e2h 20h 0e3h 00h 0e2h 21h 0e3h 00h 0e2h 22h 0e3h 00h 0e2h 23h 0e3h 00h 0e2h 24h 0e3h 00h 0e2h 25h 0e3h 00h 0e2h 26h 0e3h 00h 0e2h 27h 0e3h 00h 0e2h 28h 0e3h 00h 0e2h 29h 0e3h 00h 0e2h 2ah 0e3h 00h 0e2h 2bh 0e3h 00h 0e2h 2ch 0e3h 00h 0e2h 2dh register value 0e3h 00h 0e2h 2eh 0e3h 00h 0e2h 2fh 0e3h 00h 0e2h 30h 0e3h 00h 0e2h 31h 0e3h 00h 0e2h 32h 0e3h 00h 0e2h 33h 0e3h 00h 0e2h 34h 0e3h 00h 0e2h 35h 0e3h 00h 0e2h 36h 0e3h 00h 0e2h 37h 0e3h 00h 0e2h 38h 0e3h 00h 0e2h 39h 0e3h 00h 0e2h 3ah 0e3h 00h 0e2h 3bh 0e3h 00h 0e2h 3ch 0e3h 00h 0e2h 3dh 0e3h 00h 0e2h 3eh 0e3h 00h 0e2h 3fh 0e3h 00h 0e2h 60h 0e3h 00h 0e2h 61h 0e3h 00h 0e2h 62h 0e3h 00h 0e2h 63h 0e3h 00h 0e2h 64h 0e3h 00h 0e2h 65h table - 47. initializtion of tplc table - 47. initializtion of tplc (continued) register value description 00ch 20h select framer 2 to be tested by the prgd block. the prgd pattern is inserted in the tplc and detected in the rplc. 070h 82h set pattern detector registers as error counter register. enable automatic resynchronization. 072h 18h set the pattern length. 073h 02h set the feedback tap position. 078h ffh set the pattern insertion registers. 07bh ffh load the data in the pattern insertion registers to generate the pattern. 087h 04h set diagnostic digital loopback mode. 0e0h 01h enable the tplc indirect registers to be accessable. 0dch 01h enable the rplc indirect registers to be accessable. table - 46. the setting of prgd
102 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer register value 0e3h 00h 0e2h 66h 0e3h 00h 0e2h 67h 0e3h 00h 0e2h 68h 0e3h 00h 0e2h 69h 0e3h 00h 0e2h 6ah 0e3h 00h 0e2h 6bh 0e3h 00h 0e2h 6ch 0e3h 00h 0e2h 6dh 0e3h 00h 0e2h 6eh 0e3h 00h 0e2h 6fh 0e3h 00h 0e2h 70h 0e3h 00h 0e2h 71h 0e3h 00h 0e2h 72h 0e3h 00h 0e2h 73h 0e3h 00h 0e2h 74h 0e3h 00h 0e2h 75h 0e3h 00h 0e2h 76h 0e3h 00h 0e2h 77h 0e3h 00h 0e2h 78h 0e3h 00h 0e2h 79h 0e3h 00h 0e2h 7ah 0e3h 00h 0e2h 7bh 0e3h 00h 0e2h 7ch 0e3h 00h 0e2h 7dh table - 47. initializtion of tplc (continued) register value 0e3h 00h 0e2h 7eh 0e3h 00h 0e2h 7fh then set the test in tplc payload control register for ts2, ts4 and ts5. the process is: register value description 0e3h 08h set the test in tplc payload control register 0e2h 22h for ts2. 0e3h 08h set the test in tplc payload control register 0e2h 24h for ts4. 0e3h 08h set the test in tplc payload control register 0e2h 25h forts5. table - 47. initializtion of tplc (continued)
103 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer register value 0dfh 00h 0deh 38h 0dfh 00h 0deh 39h 0dfh 00h 0deh 3ah 0dfh 00h 0deh 3bh 0dfh 00h 0deh 3ch 0dfh 00h 0deh 3dh 0dfh 00h 0deh 3eh 0dfh 00h 0deh 3fh then set the test in rplc payload control register for ts2, ts4 and ts5. the process is: register value description 0dfh 80h set the test in rplc payload control 0deh 22h register for ts2. 0dfh 80h set the test in rplc payload control 0deh 24h register for ts4 0dfh 80h set the test in rplc payload control 0deh 25h register for ts5 table - 48. initializtion of rplc (continued) register value 074h 08h 074h 00h 074h 08h 074h 00h 074h 08h 074h 00h then write 00h into the 07ch register to update the error counter registers. then read the registers from 07ch to 07fh to check the error numbers. table - 49. error insertion register value 0dfh 00h 0deh 20h 0dfh 00h 0deh 21h 0dfh 00h 0deh 22h 0dfh 00h 0deh 23h 0dfh 00h 0deh 24h 0dfh 00h 0deh 25h 0dfh 00h 0deh 26h 0dfh 00h 0deh 27h 0dfh 00h 0deh 28h 0dfh 00h 0deh 29h 0dfh 00h 0deh 2ah 0dfh 00h 0deh 2bh 0dfh 00h 0deh 2ch 0dfh 00h 0deh 2dh 0dfh 00h 0deh 2eh 0dfh 00h 0deh 2fh 0dfh 00h 0deh 30h 0dfh 00h 0deh 31h 0dfh 00h 0deh 32h 0dfh 00h 0deh 33h 0dfh 00h 0deh 34h 0dfh 00h 0deh 35h 0dfh 00h 0deh 36h 0dfh 00h 0deh 37h table - 48. initializtion of rplc
104 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 4.1.3.4 using payload control and receive cas/rbs buffer before using the receive/transmit payload control and receive cas/rbs buffer, the indirect registers of these blocks must be initialized to eliminate erroneous control data. the pcce (b0, e1-05ch & b0, e1- 060h & b0, e1-064h) of these blocks must be set to logic 1 to enable these blocks. then the busy (b7, e1-05dh & b7, e1-061h & b7, e1-065h) must be checked before a new access request to the rplc, tplc and rcrb indirect registers. when the busy is logic 0, the new reading and writing access operations can be performed. figure - 75 shows the writing sequence of the rplc, tplc and rcrb indirect registers. figure - 76 shows the reading sequence of the rplc, tplc and rcrb indirect registers. 4.1.3.5 using tjat / timing option in different operation modes, the timing options and clock divisor control registers can be set as the follows: - transmit clock slave mode (system backplane rate: 2.048m bit/s) the tsccka or tscckb is selected as the tjat dpll input refer- ence clock. the tsccka and tscckb are both equal to 2.048m. the n1 (b7~0, e1-025h) and n2 (b7~0, e1-026h) are set to their default value (2fh). the smoothed clock output from the tjat is selected as the ltck. - transmit clock slave mode (system backplane rate: 4.096m bit/s) the tsccka is selected as the tjat dpll input reference clock. the tsccka is equal to 2.048m. the n1 (b7~0, e1-025h) and n2 (b7~0, e1-026h) are set to their default value (2fh). the smoothed clock output from the tjat is selected as the ltck. - transmit clock master mode the xck/24 is selected as the tjat dpll input reference clock. the xck/24 is selected as the ltck. - transmit multiplexed mode (system backplane rate: 8.192m bit/s) the tsccka is selected as the tjat dpll input reference clock. the tsccka is equal to 2.048m. the n1 (b7~0, e1-025h) and n2 (b7~0, e1-026h) are set to their default value (2fh). the smoothed clock output from the tjat is selected as the ltck. - transmit multiplexed mode (system backplane rate: 16.384m bit/s) the tsccka or tsccka/8 is selected as the tjat dpll input ref- erence clock. the tsccka is equal to 2.048m or 16.384m. the n1 (b7~0, e1-025h) and n2 (b7~0, e1-026h) are set to their default value (2fh). the smoothed clock output from the tjat is selected as the ltck. set pcce=1 busy=0 data are set in the channel indirect data buffer register rwb=0 and address is specified in the channel indirect address/ control register. more data to be written end n y y n set pcce=1 busy=0 read channel indirect data buffer register rwb=1 and address is specified in the channel indirect address/ control register. more data to be read end n y y n busy=0 n y figure - 75. writing sequence of indirect register in e1 mode figure - 76. reading sequence of indirect register in e1 mode
105 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 4.2 t1/j1 mode 4.2.1 def aul t setting when the device is power up, all the registers are in their default values. any of the eight framers can be reset anytime when the reset (b0, e1-00ah / b0, t1/j1-00dh) in its framer is set. the device can also be reset anytime when the rst pin is low for at least 100ns. after the hardware reset, the idt82v2108 will default to the following settings: - mode: the default operation mode of the device is t1 mode. - receive path: the default setting of each block in the receive path is illustrated in the table - 50. - transmit path: the default setting of each block in the transmit path is illustrated in the table - 51. 4.2.2 opera tion in j1 mode idt82v2108 can also be operated in j1 mode when the temode (b0, 400h) is set to logic 1. except for the setting of the jyel in bit 3 of frmp configuration registers (020h, 0a0h, 120h, 1a0h, 220h, 2a0h, 320h, 3a0h), the j1_yel in bit 5 of almd configuration registers (02ch, 0ach, 12ch, 1ach, 22ch, 2ach, 32ch, 3ach), the j1_yel table - 50. default setting in receive path in bit 5 and the j1_crc in bit 6 of frmg configuration registers (044h, 0c4h, 144h, 1c4h, 244h, 2c4h, 344h, 3c4h), the setting of the other registers are the same as the setting in t1 mode. the follows illustrate the setting in j1 mode difference from the setting in the t1 mode. in receive path, set the jyel in bit 3 of frmp configuration registers (020h, 0a0h, 120h, 1a0h, 220h, 2a0h, 320h, 3a0h) to logic 1, the frame processor will operate in j1 mode. set the j1_yel in bit 5 of almd configuration registers (02ch, 0ach, 12ch, 1ach, 22ch, 2ach, 32ch, 3ach) to logic 1, the alarm detector will operate in j1 mode. in transmit path, set the j1_crc in bit 6 of frmg configuration registers (044h, 0c4h, 144h, 1c4h, 244h, 2c4h, 344h, 3c4h) to logic 1, the frame generator will generate j1 frame. set the j1_yel in bit 5 of frmg configuration registers (044h, 0c4h, 144h, 1c4h, 244h, 2c4h, 344h, 3c4h) to logic 1, the idt82v2108 will transmit the yellow alarm in j1 format if yellow alarm transmission is enabled. 4.2.3 v arious opera tion modes configura tion five operation modes can be set in the receive path and four opera- tion modes can be set in the transmit path. in each operation modes, the configurations in table - 52 and table - 53 are illustrated for reference. function block default setting description line interface ? the lrdn inputs non-return to zero (nrz) data and is sampled on rising edge of the lrckn. ? the rjat clock divisors (n1, n2) are set to ?2f?. frame processor ? super frame (sf) format is enabled. hdlc receiver #1, #2 ? rhdlcs are disabled. receive system interface ? in recieve clock slave external signaling mode. ? the data on the rsdn, rssign pins are updated on falling edge of the rscck. ? rscfs indicates each f-bit. ? the data on the rsdn, rssign, rsfsn pins are held in high-impedance state. receive payload control ? the rplc is disabled. prgd ? the prgd is configured to monitor the extracted data patterns in frame one. table - 51. default setting in transmit path function block default setting description prgd ? the prgd is configured to insert test patterns to frame one. transmit system interface ? in transmit clock slave external signaling mode. ? the data on the tsdn and tssign pins are sampled on rising edge of tscckb. transmit payload control ? the tplc is disabled. frame generator ? super frame (sf) format is enabled. hdlc transmitter #1, #2 ? thdlcs are disabled. bit-oriented message transmitter ? the bomt is disabled. inband loop-back code generator ? the inband loop-back code generator is disabled. line interface ? the ltdn outputs non-return to zero (nrz) data and is updated on falling edge of ltckn. ? tjat clock divisors (n1, n2) are set to ?2f? ? digital jitter attenuation is enabled. the pll is synchronized to the tscckb clock. the smoothed clock output from the pll is selected as the ltckn.
106 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 52. various operation modes in receive path for reference mode register 1 value (from bit7 to bit0) description 2 001h 10000000 in receive clock slave rsck reference mode. receive clock 003h 00010011 enable the normal operation of the rsdn pin. the data on the rsdn are updated on the rising edge of the rscck. the data on the rscfs are slave rsck sampled on the falling edge of the rscck. 020h 00110000 the frame processor is set in esf format. the crc-6 calculation is reference mode performed when mimic framing pattern is present. 02ch 00010000 the alarm detector is set in esf format. 040h 00000100 the receive cas/rbs buffer is set in esf format. 001h 11000000 in receive clock slave external signaling mode. the backplane rate is receive 1.544mbit/s. 003h 00010011 enable the normal operation of the rsdn and rssign pins. the data on the (1.544m rsdn and rssign are updated on the rising edge of the rscck. the data clock on the rscfs are sampled on the falling edge of the rscck. bit/s) 020h 00110000 the frame processor is set in esf format. the crc-6 calculation is performed when mimic framing pattern is present. slave 02ch 00010000 the alarm detector is set in esf format. 040h 00000100 the receive cas/rbs buffer is set in esf format. 001h 11010000 in receive clock slave external signaling mode. the backplane rate is external 2.048mbit/s. 003h 00010011 enable the normal operation of the rsdn and rssign pins. the data on the (2.048m rsdn and rssign are updated on the rising edge of the rscck. the data signaling on the rscfs are sampled on the falling edge of the rscck. bit/s) 020h 00110000 the frame processor is set in esf format. the crc-6 calculation is performed when mimic framing pattern is present. mode 02ch 00010000 the alarm detector is set in esf format. 040h 00000100 the receive cas/rbs buffer is set in esf format. 001h 01000000 in receive clock master full t1/j1 mode. receive clock 003h 00010000 enable the normal operation of the rsdn pin. the data on the rsdn and master full rsfsn are updated on the rising edge of the rsck. t1/j1 mode 020h 00000000 the frame processor is set in sf format. 02ch 00000000 the alarm detector is set in sf format. 040h 00000000 the receive cas/rbs buffer is set in sf format. 001h 00000000 in receive clock master nx64k mode. receive clock 003h 00010000 enable the normal operation of the rsdn pin. the data on the rsdn and rsfsn are updated on the rising edge of the rsck. 020h 00110000 the frame processor is set in esf format. the crc-6 calculation is master fractional performed when mimic framing pattern is present. 02ch 00010000 the alarm detector is set in esf format. 040h 00000100 the receive cas/rbs buffer is set in esf format. t1/j1 mode 050h 00000001 enable the receive payload control. 01h-18h (rplc 01000000 the code in the dtrk[7:0] replaces the data output on the rsdn pin in the indirect registers) corresponding channel.
107 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer mode register 1 value (from bit7 to bit0) description 2 001h 11001000 081h 11001000 101h 11001000 181h 11001000 in receive multiplexed mode. the receive backplane rate is 8.192mbit/s. 201h 11001000 281h 11001000 301h 11001000 381h 11001000 003h 01010011 multiplex the data stream of these four framers to the multiplexed bus 1. enable the 083h 01010011 normal operation of the mrsd and mrssig pins. the data on the mrsd and mrssig 103h 01010011 are updated on the rising edge of the mrscck. the data on the mrscfs are sampled receive 183h 01010011 on the falling edge of the mrscck. 203h 11010011 multiplex the data stream of these four framers to the multiplexed bus 2. enable the 283h 11010011 normal operation of the mrsd and mrssig pins. the data on the mrsd and mrssig 303h 11010011 are updated on the rising edge of the mrscck. the data on the mrscfs are sampled 383h 11010011 on the falling edge of the mrscck. 077h 00000000 tsoff[6:0] = 0. the timeslot offset is 0. 0f7h 00000001 tsoff[6:0] = 1. the timeslot offset is 1. 177h 00000010 tsoff[6:0] = 2. the timeslot offset is 2. 1f7h 00000011 tsoff[6:0] = 3. the timeslot offset is 3. 277h 00000000 tsoff[6:0] = 0. the timeslot offset is 0. 2f7h 00000001 tsoff[6:0] = 1. the timeslot offset is 1. 377h 00000010 tsoff[6:0] = 2. the timeslot offset is 2. multiplexed 3f7h 00000011 tsoff[6:0] = 3. the timeslot offset is 3. 020h 00110000 0a0h 00110000 120h 00110000 1a0h 00110000 the frame processor is set in esf format. the crc-6 calculation is performed when 220h 00110000 mimic framing pattern is present. 2a0h 00110000 320h 00110000 3a0h 00110000 02ch 00010000 0ach 00010000 12ch 00010000 mode 1ach 00010000 the alarm detector is set in esf format. 22ch 00010000 2ach 00010000 32ch 00010000 3ach 00010000 040h 00000100 0c0h 00000100 140h 00000100 1c0h 00000100 the receive cas/rbs buffer is set in esf format. 240h 00000100 2c0h 00000100 340h 00000100 3c0h 00000100 table - 52. various operation modes in receive path for reference (continued)
108 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 53. various operation modes in transmit path for reference mode register 1 value (from bit7 to bit0) description 2 004h 00001000 the data on the tsdn and tscfs pins are sampled on the falling edge of the transmit clock tscckb. the data on the tsfsn pin are updated on the falling edge of the tscckb. 005h 10000000 in transmit clock slave tsfs enabled mode. the backplane rate is 1.544mbit/s. slave tsfs 044h 00010000 the frame generator is set in esf format. 007h 00001101 tscckb is selected as tjat input reference clock. smoothed clock is selected enable mode as line transmit clock (ltck). 01bh 00010000 the fifo is set to self-center its read pointer. 004h 00001000 the data on the tsdn, tssign and tscfs pins are sampled on the falling edge transmit of the tscckb. 005h 11000000 in transmit clock slave external signaling mode. the backplane rate is (1.544m 1.544mbit/s. clock bit/s) 044h 00010000 the frame generator is set in esf format. 007h 00001101 tscckb is selected as tjat input reference clock. smoothed clock is selected as line transmit clock (ltck). slave 01bh 00010000 the fifo is set to self-center its read pointer. 004h 00001000 the data on the tsdn, tssign and tscfs pins are sampled on the falling edge of the tscckb. external 005h 11000100 in transmit clock slave external signaling mode. the backplane rate is 2.048mbit/s. (2.048m 044h 00010000 the frame generator is set in esf format. signaling bit/s) 007h 00001101 tscckb is selected as tjat input reference clock. smoothed clock is selected as line transmit clock (ltck). 019h 11111111 set the reference clock divisor(n1) to 255. mode 01ah 11000000 set the output clock divisor(n2) to 192. 01bh 00010000 the fifo is set to self-center its read pointer. 004h 00000110 the data on the tsfsn pin are updated on the rising edge of the ltck. the data transmit clock on the tsdn pin are sampled on the falling edge of the ltck. 005h 01000000 in transmit clock master full t1/j1 mode. the backplane rate is 1.544mbit/s. master mode 044h 00000000 the frame generator is set in sf format. 007h 00100100 xck/24 is selected as tjat input reference clock and line transmit clock (ltck). 004h 00001000 084h 00001000 104h 00001000 transmit 184h 00001000 the data on the tsdn, tssign and tscfs pins are sampled on the falling edge 204h 00001000 of tscckb. 284h 00001000 304h 00001000 multiplexed 384h 00001000 005h 11001100 085h 11001100 105h 11001100 mode 185h 11001100 in transmit multiplexed mode. the backplane rate is 8.192mbit/s. 205h 11001100 285h 11001100 305h 11001100 385h 11001100
109 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer mode register 1 value (from bit7 to bit0) description 2 014h 00000000 tsoff[6:0] = 0. the timeslot offset is 0. 094h 00000000 114h 00000001 tsoff[6:0] = 1. the timeslot offset is 1. 194h 00000001 214h 00000010 tsoff[6:0] = 2. the timeslot offset is 2. 294h 00000010 314h 00000011 tsoff[6:0] = 3. the timeslot offset is 3. 394h 00000011 transmit 015h 00000000 the data stream is taken from the multiplexed bus 1. 095h 01000000 the data stream is taken from the multiplexed bus 2. 115h 00000000 the data stream is taken from the multiplexed bus 1. 195h 01000000 the data stream is taken from the multiplexed bus 2. 215h 00000000 the data stream is taken from the multiplexed bus 1. 295h 01000000 the data stream is taken from the multiplexed bus 2. 315h 00000000 the data stream is taken from the multiplexed bus 1. 395h 01000000 the data stream is taken from the multiplexed bus 2. multiplexed 044h 00010000 0c4h 00010000 144h 00010000 1c4h 00010000 the frame generator is set in esf format. 244h 00010000 2c4h 00010000 344h 00010000 3c4h 00010000 mode 007h 00011101 087h 00011101 107h 00011101 187h 00011101 tsccka is selected as tjat input reference clock. smoothed clock is selected as line 207h 00011101 transmit clock (ltck). 287h 00011101 307h 00011101 387h 00011101 (continued) 019h 11111111 099h 11111111 119h 11111111 199h 11111111 set the reference clock divisor(n1) to 255. 219h 11111111 299h 11111111 319h 11111111 399h 11111111 01ah 11000000 09ah 11000000 11ah 11000000 19ah 11000000 set the output clock divisor(n2) to 192. 21ah 11000000 29ah 11000000 31ah 11000000 39ah 11000000 table - 53. various operation modes in transmit path for reference (continued)
110 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 4.2.4 opera tion example in this chapter, some common operation examples are given for ref- erence. 4.2.4.1 using the hdlc receiver in t1/j1 mode, the hdlc receive can only be used in esf format. before using the hdlc#2 receive, the txcisel (b3, t1/j1-00dh) must be set to 0 to enable the hdlc data link position for receive path. since two hdlc receive data links are integrated in one framer, one of the two hdlc receive data links must be selected in the rhdlcsel[1:0] (b7~6, t1/j1-00dh). the rhdlc #1 can only extract from f-bit of each odd frame. the rhdlc #2 can be set to extract from even and/or odd frames, from any channel, and from any bit. the follow is an example for selecting the hdlc receive data link positions in rhdlc #2: a. to extract the hdlc data link from all bits of channel 20 of all fram- ers in hdlc receive #2: - set the txcisel (b3, t1/j1-00dh) to 0; - set the rhdlcsel[1:0] (b7~6, t1/j1-00dh) to 01; - set the dl2_even (b7, t1/j1-070h) to 1; - set the dl2_odd (b6, t1/j1-070h) to 1; - set the dl2_ts[4:0] (b4~0, t1/j1-070h) to 10100; - set the dl2_bit[7:0] (b7~0, t1/j1-071h) to 11111111. after setting the hdlc data link position properly, the selected hdlc receive should be enabled by setting the en (b0, t1/j1-054h)to logic 1. if needed, set the men (b3, t1/j1-054h) and the mm (b2, t1/j1- 054h) to determine which address matching mode to be selected (refer to register description for details). after setting these 3 bits, the rhdlc primary address match register and the rhdlc secondary ad- dress match register should be set to proper values. if the intc[6:0] (b6~0, t1/j1-055h) are set, whenever the number of bytes in the rhdlc fifo exceeds the value set in the intc[6:0] (b6~0, t1/j1- 055h), the intr (b0, t1/j1-056h) will be set to logic 1. this interrupt will persist until the rhdlc fifo becomes empty. setting the inte (b7, t1/j1-055h) to logic 1 allows the internal interrupt status to be propa- gated to the int output pin. mode register 1 value (from bit7 to bit0) description 2 transmit 01bh 00010000 09bh 00010000 multiplexed 11bh 00010000 19bh 00010000 the fifo is set to self-center its read pointer. mode 21bh 00010000 29bh 00010000 (continued) 31bh 00010000 39bh 00010000 table - 53. various operation modes in transmit path for reference (continued) note: 1. in the ?register? column, except for the receive/transmit multiplexed mode, the register position of the framer one is listed to represent the set of the registers of eight framers. the other registers position are tabulated in the ?register map?. however, in receive/transmit multiplexed mode, the register position of eight framers are all listed. 2. the ?description? illustrates the fundamental function of the operation mode. the others can be configured as desired. after setting these registers properly, the hdlc data can be received in a polled or interrupt driven mode. - interrupt driven mode when the inte (b7, t1/j1-055h) is set to logic 1, if the int pin is asserted, the source of the interrupt should be identified firstly by reading the interrupt id register and interrupt source registers. if the source of the interrupt is hdlc receive, the interrupt service procedure will be carried out as shown in figure - 77. - polling mode in polling mode, the operation procedure is the same as figure - 77, except that the entry of the service is from a local timer rather than an interrupt. to summarize the procedure of using hdlc receive, a complete ex- ample is shown in table - 54. table - 54 . example for using hdlc receiver register value description 00dh 50h rhdlc #2 is selected. the hdlc receive is accessable to the cpu interface. 070h c4h the ts4 of even frames and odd frames are selected. 071h ffh all the 8 bits are selected. 054h 0dh the function of the rhdlc #2 is enabled. set the address match mode. 055h 8fh set the inte to 1. when the number of bytes in the rhdlc fifo exceeds 15, an interrupt is generated. 058h 13h the primary address is set to 13h. 059h ffh the secondary address is set to ffh. then read the data status in register 056h. until a complete packet is received, read the data from register 057h .
111 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer int asserts rhdlc interrupt other block interrupt service read rhdlc status ovr=1 cols=1 pkin=1 read rhdlc data read rhdlc status ovr=1 cols=1 pkin=1 pbs[2:0]=? discard the last packet set empty fifo * flag packet count * increment discard the last packet set empty fifo * flag packet count * increment store the packet data discard this data byte, set link active * flag discard this data byte , clear link active * flag store this byte, decrement the packet count *, check for crc or non-integer number errors before deciding whether to keep the packet or not. fe=1 end of interrupt service n y y n y n y n y n y n y n 000 001 010 1xx n y note: * the packet count ,empty fifo and link active is a local software variable figure - 77. interrupt service in t1/j1 mode hdlc receiver
112 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 4.2.4.2 using the hdlc transmitter in t1/j1 mode, the hdlc transmit can only be used in esf format. before using the hdlc#2 transmit, the txcisel (b3, t1/j1-00dh) must be set to 1 to enable the hdlc data link position for transmit path. since two hdlc transmit data links are integrated in one framer, one of the two hdlc transmit data links must be selected in the thdlcsel[1:0] (b5~4, t1/j1-00dh). the thdlc #1 can only insert to f-bit of each odd frame. the thdlc #2 can be set to insert to even and/ or odd frames, to any channel, and to any bit. the follow is an example for selecting the hdlc transmit data link positions in thdlc #2: a. to insert the hdlc data link to all bits of channel 20 of all framers in hdlc transmit #2: - set the txcisel (b3, t1/j1-00dh) to 1; - set the thdlcsel[1:0] (b5~4, t1/j1-00dh) to 01; - set the dl2_even (b7, t1/j1-070h) to 1; - set the dl2_odd (b6, t1/j1-070h) to 1; - set the dl2_ts[4:0] (b4~0, t1/j1-070h) to 10100; - set the dl2_bit[7:0] (b7~0, t1/j1-071h) to 11111111. after setting the hdlc data link position properly, the selected hdlc transmit should be enabled by setting the en (b0, t1/j1-034h) to logic 1. the fifoclr (b6, t1/j1-034h) should be set and then cleared to initialize the thdlc fifo. set the crc (b1, t1/j1-034h) to logic 1 if the frame check sequences (fcs) generation is desired. set the fulle (b3, t1/j1- 037h), ovre (b2, t1/j1-037h), udre (b1, t1/j1-037h) and lfille (b0, t1/j1-037h) to logic 1 if interrupt driven mode is used. set thdlc upper transmit threshold and thdlc lower transmit threshold registers to the desired values. if a complete packet has been written into thdlc fifo, the eom (b3, t1/j1-034h) should be set. after setting these registers properly, the hdlc data can be transmitted in a polled or interrupt driven mode. - interrupt driven mode writing hdlc data to thdlc fifo , the thdlc will transmit the hdlc data if the end of a packet was written or if the thdlc fifo fill level reaches the upper transmit threshold. the writing procedure is shown in figure - 78. when the fulle (b3, t1/j1-037h), ovre (b2, t1/j1-037h), udre (b1, t1/j1-037h) and lfille (b0, t1/j1-037h) are set to logic 1, if the int pin is asserted, the source of the interrupt should be identified firstly by reading the interrupt id register and interrupt source registers. if the source of the interrupt is hdlc transmit, the interrupt service procedure will be carried out as shown in figure - 79. - polling mode in packet transmission polling mode, the fulle (b3, t1/j1-037h), ovre (b2, t1/j1-037h), udre (b1, t1/j1-037h) and lfille (b0, t1/ j1-037h) should be set to logic 0. the thdlc lower transmit threshold should be set to such a value that sufficient warning of an underrun is given. the procedure shown in figure - 80 should be followed. to summarize the procedure of using hdlc transmit, a complete ex- ample is shown in table - 55. thdlc initial data is available write data into thdlc fifo y n end of packet set eom y n figure - 78. writing data to t1/j1 mode thdlc fifo register value description 00dh 58h thdlc #2 is selected. the hdlc transmit is accessable to the cpu interface. 070h c4h the ts4 of even frames and odd frames are selected. 071h ffh all the 8 bits are selected. 034h c3h the function of the thdlc #2 is enabled. the 034h 83h fcs is enables and the thdlc fifo is reset. 037h 0fh enable the thdlc interrupt enable bits. 039h 12h 039h 34h 039h 56h 039h 78h write data into thdlc fifo. 039h 9ah 039h bch 039h deh 039h ffh 034h 8bh end of packet and set the eom to 1. table - 55. example for using hdlc transmitter
113 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer int asserts thdlc interrupt other blocks interrupt service n fulli=1 undri=1 ovri=1 lfilli=1 full=1 start a timer 2 n y y y set the rlp flag 1 blfill=1 end of packet set eom y n y n y y end of interrupt service y n n n n note: 1. rlp-retransmit the last packet, a local software variable. 2. a local timer to wait for a certain time until the full = 0 or the blfill = 1. figure - 79. interrupt service in t1/j1 mode hdlc transmitter
114 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer thdlc initial data is available read thdlc interrupt status full=1 write the data into the thdlc fifo more data to be tarnsmitted set eom wait, until full=0 or bblfill=1 n y y y n n figure - 80. polling mode in t1/j1 mode hdlc transmitter 4.2.4.3 using the prbs generator / detector idt82v2108 provide one prbs generator/detector block to generate and detect an enormous variety of pseudo-random and repetitive patterns to diagnose t1/j1 data stream of eight framers. the common test patterns are tabulrized in table - 56. the prbs generator/detector block can be used to test t1/j1 line transmit-receive integrity and system backplane integrity. - example for testing t1/j1 line transmit-receive integrity suppose to monitor the errors in framer two without taking the entire t1/j1 offline. following procedure should be done. - select framer two to be tested by the prgd block; - configure the prgd register; - chose a desired set of channels (for example ch2, ch4, ch5) for insert/extract prgd test data; - set the far end of the line to loop back at least the selected channels; - monitor the t1/j1 line transmit-receive integrity. to realize the above function, the configuration in table - 57 to table - 59 should be set. table - 57 is the configuration for prgd and loopback. table - 58 shows the process to initialize the tplc. table - 59 shows the process to initialize the rplc. after the above setting, read the 061h register twice. if the syncv (b4, t1/j1-061h) is logic 1 and the bei (b2, t1/j1-061h) is logic 0, the pattern detector is in synchronization state. then insert errors into this link. here suppose to insert 3 errors, then the configuration is shown in table - 60. - example for testing t1/j1 system backplane integrity to test the t1/j1 system backplane integrity, the rxpatgen (b2, t1/j1-00fh) should be set to logic 1 and the other registers are set as above. then the prgd can be used to test the system backplane integrity.
115 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pseudo-random pattern generation (the ps [b4, t1/j1-060h] is logic 0) pattern type tr 1 lr 2 ir#1 3 ir#2 4 ir#3 5 ir#4 6 tinv 7 rinv 7 2 3 ?1 00 02 ff ff ff ff 0 0 2 4 ?1 00 03 ff ff ff ff 0 0 2 5 -1 01 04 ff ff ff ff 0 0 2 6 ?1 04 05 ff ff ff ff 0 0 2 7 ?1 (fractional t1 lb activate) 00 06 ff ff ff ff 0 0 2 7 ?1 (fractional t1 lb activate) 03 06 ff ff ff ff 0 0 2 7 ?1 03 06 ff ff ff ff 1 1 2 9 ?1 (o.153) 04 08 ff ff ff ff 0 0 2 10 -1 02 09 ff ff ff ff 0 0 2 11 -1 (o.152,o.153) 08 0a ff ff ff ff 0 0 2 15 -1 (o.151) 0d 0e ff ff ff ff 1 1 2 17 -1 02 10 ff ff ff ff 0 0 2 18 -1 06 11 ff ff ff ff 0 0 2 20 -1 (o.153) 02 13 ff ff ff ff 0 0 2 21 -1 01 14 ff ff ff ff 0 0 2 22 -1 00 15 ff ff ff ff 0 0 2 23 -1 (o.151) 11 16 ff ff ff ff 1 1 2 25 -1 02 18 ff ff ff ff 0 0 2 28 -1 02 1b ff ff ff ff 0 0 2 29 -1 01 1c ff ff ff ff 0 0 2 31 -1 02 1e ff ff ff ff 0 0 repetitive pattern generation (the ps [b4, t1/j1-060h] is logic 1) pattern type tr 1 lr 2 ir#1 3 ir#2 4 ir#3 5 ir#4 6 tinv 7 rinv 7 all ones 00 00 ff ff ff ff 0 0 all zeros 00 00 fe ff ff ff 0 0 alternatingones/zeros 00 01 fe ff ff ff 0 0 double alternatingones/zeros 00 03 fc ff ff ff 0 0 3 in 24 00 17 22 00 20 ff 0 0 1 in 16 00 0f 01 00 ff ff 0 0 1 in 8 00 07 01 ff ff ff 0 0 1 in 4 00 03 f1 ff ff ff 0 0 ds1 inbandloopback activate 00 04 f0 ff ff 0f 0 0 ds1 inbandloopback deactivate 00 02 fc ff ff ff 0 0 note: 1. tr - tap register 2. lr - shift register length register 3. ir#1 - prgd pattern insertion #1 register 4. ir#2 - prgd pattern insertion #2 register 5. ir#3 - prgd pattern insertion #3 register 6. ir#4 - prgd pattern insertion #4 register 7. tinv, rinv - contained in the prgd control register table - 56. test pattern
116 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 58. initializtion of tplc register value description 00fh 20h select framer 2 to be tested by the prgd block. the prgd pattern is inserted in the tplc and detected in the rplc. 060h 82h set pattern detector registers as error counter register. enable automatic resynchronization. 062h 18h set the pattern length. 063h 02h set the feedback tap position. 068h ffh set the pattern insertion registers. 06bh ffh load the data in the pattern insertion registers to generate the pattern. 08ah 04h set diagnostic digital loopback mode. 0b0h 01h enable the tplc indirect registers to be accessable. 0d0h 01h enable the rplc indirect registers to be accessable. table - 57. the setting of prgd register value 0b3h 00h 0b2h 01h 0b3h 00h 0b2h 02h 0b3h 00h 0b2h 03h 0b3h 00h 0b2h 04h 0b3h 00h 0b2h 05h 0b3h 00h 0b2h 06h 0b3h 00h 0b2h 07h 0b3h 00h 0b2h 08h 0b3h 00h 0b2h 09h 0b3h 00h 0b2h 0ah 0b3h 00h 0b2h 0bh 0b3h 00h 0b2h 0ch 0b3h 00h 0b2h 0dh 0b3h 00h 0b2h 0eh 0b3h 00h register value 0b2h 0fh 0b3h 00h 0b2h 10h 0b3h 00h 0b2h 11h 0b3h 00h 0b2h 12h 0b3h 00h 0b2h 13h 0b3h 00h 0b2h 14h 0b3h 00h 0b2h 15h 0b3h 00h 0b2h 16h 0b3h 00h 0b2h 17h 0b3h 00h 0b2h 18h 0b3h 00h 0b2h 31h 0b3h 00h 0b2h 32h 0b3h 00h 0b2h 33h 0b3h 00h 0b2h 34h 0b3h 00h 0b2h 35h 0b3h 00h 0b2h 36h 0b3h 00h 0b2h 37h 0b3h 00h 0b2h 38h 0b3h 00h 0b2h 39h 0b3h 00h 0b2h 3ah 0b3h 00h 0b2h 3bh 0b3h 00h 0b2h 3ch 0b3h 00h 0b2h 3dh 0b3h 00h 0b2h 3eh 0b3h 00h table - 58. initializtion of tplc (continued)
117 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer register value 0b2h 3fh 0b3h 00h 0b2h 40h 0b3h 00h 0b2h 41h 0b3h 00h 0b2h 42h 0b3h 00h 0b2h 43h 0b3h 00h 0b2h 44h 0b3h 00h 0b2h 45h 0b3h 00h 0b2h 46h 0b3h 00h 0b2h 47h 0b3h 00h 0b2h 48h then set the test in tplc payload control register for ch2, ch4 and ch5. the process is: register value description 0b3h 08h set the test in tplc payload control register 0b2h 02h for ch2. 0b3h 08h set the test in tplc payload control register 0b2h 04h for ch4. 0b3h 08h set the test in tplc payload control register 0b2h 05h for ch5. table - 58. initializtion of tplc (continued) table - 59. initializtion of rplc register value 0d3h 00h 0d2h 01h 0d3h 00h 0d2h 02h 0d3h 00h 0d2h 03h 0d3h 00h 0d2h 04h 0d3h 00h 0d2h 05h 0d3h 00h 0d2h 06h 0d3h 00h 0d2h 07h register value 0d3h 00h 0d2h 08h 0d3h 00h 0d2h 09h 0d3h 00h 0d2h 0ah 0d3h 00h 0d2h 0bh 0d3h 00h 0d2h 0ch 0d3h 00h 0d2h 0dh 0d3h 00h 0d2h 0eh 0d3h 00h 0d2h 0fh 0d3h 00h 0d2h 10h 0d3h 00h 0d2h 11h 0d3h 00h 0d2h 12h 0d3h 00h 0d2h 13h 0d3h 00h 0d2h 14h 0d3h 00h 0d2h 15h 0d3h 00h 0d2h 16h 0d3h 00h 0d2h 17h 0d3h 00h 0d2h 18h then set the test in rplc payload control register for ch2, ch4 and ch5. the process is: register value description 0d3h 08h set the test in rplc payload control 0d2h 02h register for ch2. 0d3h 08h set the test in rplc payload control 0d2h 04h register for ch4 0d3h 08h set the test in rplc payload control 0d2h 05h register for ch5 table - 59. initializtion of rplc (continued)
118 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer register value 064h 08h 064h 00h 064h 08h 064h 00h 064h 08h 064h 00h then write 00h into the 06ch register to update the error counter registers. then read the registers from 06ch to 06fh to check the error numbers. table - 60. error insertion set pcce=1 busy=0 data are set in the channel indirect data buffer register rwb=0 and address is specified in the channel indirect address/ control register. more data to be written end n y y n figure - 81. writing sequence of indirect register in t1/j1 mode set pcce=1 busy=0 read channel indirect data buffer register rwb=1 and address is specified in the channel indirect address/ control register. more data to be read end n y y n busy=0 n y figure - 82. reading sequence of indirect register in t1/j1 mode 4.2.4.4 using payload control and receive cas/rbs buffer before using the receive/transmit payload control and receive cas/rbs buffer, the indirect registers of these blocks must be initialized to eliminate erroneous control data. the the pcce (b0, t1/j1-050h & b0, t1/j1-030h & b0, t1/j1-040h) of these blocks must be set to logic 1 to enable these blocks. then the busy (b7, t1/j1-051h & b7, t1/j1-031h & b7, t1/j1- 041h) must be checked before a new access request to the rplc, tplc and rcrb indirect registers. when the busy is logic 0, the new reading and writing access operations can be performed. figure - 81 shows the writing sequence of the rplc, tplc and rcrb indirect registers. figure - 82 shows the reading sequence of the rplc, tplc and rcrb indirect registers. 4.2.4.5 using tjat / timing option in different operation modes, the timing options and clock divisor control registers can be set as the follows: - transmit clock slave mode (system backplane rate: 1.544m bit/s) the tsccka or tscckb is selected as the tjat dpll input refer- ence clock. the tsccka and tscckb are both equal to 1.544m. the n1 (b7~0, t1/j1-019h) and n2 (b7~0, t1/j1-01ah) are set to their de- fault value (2fh). the smoothed clock output from the tjat is selected as the ltck. - transmit clock slave mode (system backplane rate: 2.048m bit/s) the tsccka or tscckb is selected as the tjat dpll input refer- ence clock. the tsccka and tscckb are both equal to 2.048m. the n1 (b7~0, t1/j1-019h) is set to ?b11111111 and the n2 (b7~0, t1/j1- 01ah) is set to ?b11000000. the smoothed clock output from the tjat is selected as the ltck. - transmit clock slave mode (system backplane rate: 4.096m bit/s) the tsccka is selected as the tjat dpll input reference clock. the tsccka is equal to 2.048m. the n1 (b7~0, t1/j1-019h) is set to ?b11111111 and the n2 (b7~0, t1/j1-01ah) is set to ?b11000000. the smoothed clock output from the tjat is selected as the ltck.
119 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 61. t1/e1 mode selection register address register 400 t1 / e1 mode selection - transmit clock master mode the xck/24 is selected as the tjat dpll input reference clock. the xck/24 is selected as the ltck. - transmit multiplexed mode (system backplane rate: 8.192m bit/s) the tsccka is selected as the tjat dpll input reference clock. the tsccka is equal to 2.048m. the n1 (b7~0, t1/j1-019h) is set to ?b11111111 and the n2 (b7~0, t1/j1-01ah) is set to ?b11000000. the smoothed clock output from the tjat is selected as the ltck. - transmit multiplexed mode (system backplane rate: 16.384m bit/s) the tsccka or tsccka/8 is selected as the tjat dpll input ref- erence clock. the tsccka is equal to 2.048m or 16.384m. the n1 (b7~0, t1/j1-019h) is set to ?b11111111 and the n2 (b7~0, t1/j1-01ah) is set to ?b11000000. the smoothed clock output from the tjat is selected as the ltck. 5 pr ogramming informa tion the micro-processor interface provides the logic to connect the microprocessor interface. for all accesses, cs must be low. the data bus and address bus of the interface can work in multiplexed on non- multiplexed mode. in non-multiplexed mode, ale pin should be connected to high. in multiplexed mode, data bus and address bus should be externally connected. 5.1 register map the registers are devided into two parts: e1 part and t1/j1 part. be- fore operation, the temode (b0, 400h) must be set to specify which part to be accessed by the microprocessor.
120 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 address register framer 1 framer 2 framer 3 framer4 framer 5 framer 6 framer 7 framer8 000 080 100 180 200 280 300 380 receive path line options 001 081 101 181 201 281 301 381 receive side system interface options 002 082 102 182 202 282 302 382 transmit path configuration 003 083 103 183 203 283 303 383 transmit side system interface options 004 084 104 184 204 284 304 384 transmit timing options 005 085 105 185 205 285 305 385 interrupt source #1 006 086 106 186 206 286 306 386 interrupt source #2 007 087 107 187 207 287 307 387 diagnostic 008 088 108 188 208 288 308 388 reserved 009 chip id/ global pmon update 00a 08a 10a 18a 20a 28a 30a 38a hdlc micro select/framer reset 00b framer interrupt id 00c prgd positioning/control 00d 08d 10d 18d 20d 28d 30d 38d clock monitor 00e 08e 10e 18e 20e 28e 30e 38e receive path frame pulse configuration 00f 08f 10f 18f 20f 28f 30f 38f reserved 010 090 110 190 210 290 310 390 resi configuration 011 091 111 191 211 291 311 391 resi frame pulse configuration 012 092 112 192 212 292 312 392 resi parity configuration 013 093 113 193 213 293 313 393 resi timeslot offset 014 094 114 194 214 294 314 394 resi bit offset 015~017 095~097 115~117 195~197 215~217 295~297 315~317 395~397 reserved 018 098 118 198 218 298 318 398 trsi configuration 019 099 119 199 219 299 319 399 trsi frame pulse configuration 01a 09a 11a 19a 21a 29a 31a 39a trsi parity configuration and status 01b 09b 11b 19b 21b 29b 31b 39b trsi timeslot offset 01c 09c 11c 19c 21c 29c 31c 39c trsi bit offset 01d~01f 09d~09f 11d~11f 19d~19f 21d~21f 29d~29f 31d~31f 39d~39f reserved 020 0a0 120 1a0 220 2a0 320 3a0 rjat interrupt status 021 0a1 121 1a1 221 2a1 321 3a1 rjat reference clock divisor(n1) 022 0a2 122 1a2 222 2a2 322 3a2 rjat reference clock divisor(n2) 023 0a3 123 1a3 223 2a3 323 3a3 rjat configuration 024 0a4 124 1a4 224 2a4 324 3a4 tjat interrupt status 025 0a5 125 1a5 225 2a5 325 3a5 tjat reference clock divisor(n1) 026 0a6 126 1a6 226 2a6 326 3a6 tjat reference clock divisor(n2) 027 0a7 127 1a7 227 2a7 327 3a7 tjat configuration 028 0a8 128 1a8 228 2a8 328 3a8 rhdlc 1(txcisel=0) link control/ thdlc 1(txcisel=1) link control 029 0a9 129 1a9 229 2a9 329 3a9 rhdlc 1(txcisel=0) bits select/ thdlc 1(txcisel=1) bits select 02a 0aa 12a 1aa 22a 2aa 32a 3aa rhdlc 2(txcisel=0) link control/ thdlc 2(txcisel=1) link control table - 62a. e1 mode register map - direct register 5.1.1 e1 mode register map when the temode (b0, 400h) is logic 0, the e1 mode registers are accessed.
121 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 address register framer 1 framer 2 framer 3 framer4 framer 5 framer 6 framer 7 framer8 02b 0ab 12b 1ab 22b 2ab 32b 3ab rhdlc 2(txcisel=0) bits select/ thdlc 2(txcisel=1) bits select 02c 0ac 12c 1ac 22c 2ac 32c 3ac rhdlc 3(txcisel=0) link control/ thdlc 3(txcisel=1) link control 02d 0ad 12d 1ad 22d 2ad 32d 3ad rhdlc 3(txcisel=0) bits select/ thdlc 3(txcisel=1) bits select 02e~02f 0ae~0af 12e~12f 1ae~1af 22e~22f 2ae~2af 32e~32f 3ae~3af reserved 030 0b0 130 1b0 230 2b0 330 3b0 frmp frame alignment option 031 0b1 131 1b1 231 2b1 331 3b1 frmp maintenance mode options 032 0b2 132 1b2 232 2b2 332 3b2 frmp framing status interrupt enable 033 0b3 133 1b3 233 2b3 333 3b3 frmp maintenance/alarm status interrupt enable 034 0b4 134 1b4 234 2b4 334 3b4 frmp framing status interrupt indication 035 0b5 135 1b5 235 2b5 335 3b5 frmp maintenance/alarm status interrupt indication 036 0b6 136 1b6 236 2b6 336 3b6 frmp framing status 037 0b7 137 1b7 237 2b7 337 3b7 frmp maintenance/alarm status 038 0b8 138 1b8 238 2b8 338 3b8 frmp ts0 international/national bits 039 0b9 139 1b9 239 2b9 339 3b9 frmp crc error counter-lsb 03a 0ba 13a 1ba 23a 2ba 33a 3ba frmp crc error counter-msb/ts16 extra bits 03b 0bb 13b 1bb 23b 2bb 33b 3bb frmp national bit code-word interrupt enable 03c 0bc 13c 1bc 23c 2bc 33c 3bc frmp national bit code-word interrupts 03d 0bd 13d 1bd 23d 2bd 33d 3bd frmp national bit code-word 03e 0be 13e 1be 23e 2be 33e 3be frmp frame pulse/alarm/v5.2 link id interrupt enable 03f 0bf 13f 1bf 23f 2bf 33f 3bf frmp frame pulse/alarm interrupts 040 0c0 140 1c0 240 2c0 340 3c0 frmg configuration 041 0c1 141 1c1 241 2c1 341 3c1 frmg alarm/diagnostic control 042 0c2 142 1c2 242 2c2 342 3c2 frmg international bits 043 0c3 143 1c3 243 2c3 343 3c3 frmg extra bits 044 0c4 144 1c4 244 2c4 344 3c4 frmg interrupt enable 045 0c5 145 1c5 245 2c5 345 3c5 frmg interrupt status 046 0c6 146 1c6 246 2c6 346 3c6 frmg national bit code-word select 047 0c7 147 1c7 247 2c7 347 3c7 frmg national bit code-word 048 0c8 148 1c8 248 2c8 348 3c8 rhdlc #1, 2, 3 configuration 049 0c9 149 1c9 249 2c9 349 3c9 rhdlc #1, 2, 3 interrupt control 04a 0ca 14a 1ca 24a 2ca 34a 3ca rhdlc #1, 2, 3 status 04b 0cb 14b 1cb 24b 2cb 34b 3cb rhdlc #1, 2, 3 data 04c 0cc 14c 1cc 24c 2cc 34c 3cc rhdlc #1, 2, 3 primary address match 04d 0cd 14d 1cd 24d 2cd 34d 3cd rhdlc #1, 2, 3 secondary address match 04e~04f 0ce~0cf 14e~14f 1ce~1cf 24e~24f 2ce~2cf 34e~34f 3ce~3cf reserved 050 0d0 150 1d0 250 2d0 350 3d0 thdlc #1, 2, 3 configuration 051 0d1 151 1d1 251 2d1 351 3d1 thdlc #1, 2, 3 upper transmit threshold 052 0d2 152 1d2 252 2d2 352 3d2 thdlc #1, 2, 3 lower transmit threshold 053 0d3 153 1d3 253 2d3 353 3d3 thdlc #1, 2, 3 interrupt enable 054 0d4 154 1d4 254 2d4 354 3d4 thdlc #1, 2, 3 interrupt status 055 0d5 155 1d5 255 2d5 355 3d5 thdlc #1, 2, 3 transmit data 056~058 0d6~0d8 156~158 1d6~1d8 256~258 2d6~2d8 356~358 3d6~3d8 reserved 059 0d9 159 1d9 259 2d9 359 3d9 elsb interrupt enable/ status 05a 0da 15a 1da 25a 2da 35a 3da elsb idle code table - 62a. e1 mode register map - direct register (continued)
122 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 address register framer 1 framer 2 framer 3 framer4 framer 5 framer 6 framer 7 framer8 05b 0db 15b 1db 25b 2db 35b 3db reserved 05c 0dc 15c 1dc 25c 2dc 35c 3dc rplc configuration 05d 0dd 15d 1dd 25d 2dd 35d 3dd rplc m p access status 05e 0de 15e 1de 25e 2de 35e 3de rplc channel indirect address/control 05f 0df 15f 1df 25f 2df 35f 3df rplc channel indirect data buffer 060 0e0 160 1e0 260 2e0 360 3e0 tplc configuration 061 0e1 161 1e1 261 2e1 361 3e1 tplc m p access status 062 0e2 162 1e2 262 2e2 362 3e2 tplc channel indirect address/control 063 0e3 163 1e3 263 2e3 363 3e3 tplc channel indirect data buffer 064 0e4 164 1e4 264 2e4 364 3e4 rcrb configuration (coss=0) / rcrb coss[30:25] (coss=1) 065 0e5 165 1e5 265 2e5 365 3e5 rcrb m p access status (coss=0) / rcrb coss[24:17] (coss=1) 066 0e6 166 1e6 266 2e6 366 3e6 rcrb ch ind addr/control (coss=0) / rcrb coss[16:9] (coss=1) 067 0e7 167 1e7 267 2e7 367 3e7 rcrb ch indirect data buffer (coss=0) / rcrb coss[8:1] (coss=1) 068 0e8 168 1e8 268 2e8 368 3e8 pmon interrupt enable/status 069 0e9 169 1e9 269 2e9 369 3e9 pmon fer count 06a 0ea 16a 1ea 26a 2ea 36a 3ea pmon febe count (lsb) 06b 0eb 16b 1eb 26b 2eb 36b 3eb pmon febe count (msb) 06c 0ec 16c 1ec 26c 2ec 36c 3ec pmon crc count (lsb) 06d 0ed 16d 1ed 26d 2ed 36d 3ed pmon crc count (msb) 06e~06f 0ee~0ef 16e~16f 1ee~1ef 26e~26f 2ee~2ef 36e~36f 3ee~3ef reserved 070 prgd control 071 prgd interrupt enable/status 072 prgd shift register length 073 prgd tap 074 prgd error insertion 075 ~ 077 reserved 078 prgd pattern insertion #1 079 prgd pattern insertion #2 07a prgd pattern insertion #3 07b prgd pattern insertion #4 07c prgd pattern detector #1 07d prgd pattern detector #2 07e prgd pattern detector #3 07f prgd pattern detector #4 table - 62a. e1 mode register map - direct register (continued)
123 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer address register rplc 20-3fh payload control byte for ts0 to ts 31 indirect registers 40-5fh data trunk conditioning code for ts0 to ts31 61-7fh signaling trunk conditioning code for ts1 to ts31 tplc 20-3fh payload control byte for ts0 to ts 31 indirect registers 40-5fh idle code for ts0 to ts31 61-7fh signaling control byte for ts1 to ts31 rcrb 01-1fh / 21-3fh signaling data for ts1 to ts31 indirect registers 41-5fh signaling control for ts1 to ts31 table - 62b. e1 mode register map - indirect register t1 / j1 address register framer 1 framer 2 framer 3 framer4 framer 5 framer 6 framer 7 framer8 000 080 100 180 200 280 300 380 receive line options 001 081 101 181 201 281 301 381 receive side system interface options 002 082 102 182 202 282 302 382 back-plane parity configuration/status 003 083 103 183 203 283 303 383 receive interface configuration 004 084 104 184 204 284 304 384 transmit interface configuration 005 085 105 185 205 285 305 385 transmit side system interface options 006 086 106 186 206 286 306 386 transmit framing and bypass options 007 087 107 187 207 287 307 387 transmit timing options 008 088 108 188 208 288 308 388 interrupt source #1 009 089 109 189 209 289 309 389 interrupt source #2 00a 08a 10a 18a 20a 28a 30a 38a diagnostic 00b reserved 00c chip id/ global pmon update 00d 08d 10d 18d 20d 28d 30d 38d hdlc micro select/framer reset 00e framer interrupt id 00f prgd positioning/control 010 090 110 190 210 29f 310 390 rjat interrupt status 011 091 111 191 211 291 311 391 rjat reference clock divisor(n1) 012 092 112 192 212 292 312 392 rjat reference clock divisor(n2) 013 093 113 193 213 293 313 393 rjat configuration 014 094 114 194 214 294 314 394 trsi timeslot offset 015 095 115 195 215 295 315 395 trsi bit offset 016~017 096~097 116~117 196~197 216~217 296~297 316~317 396~397 reserved 018 098 118 198 218 298 318 398 tjat interrupt status 019 099 119 199 219 299 319 399 tjat reference clock divisor(n1) 01a 09a 11a 19a 21a 29a 31a 39a tjat reference clock divisor(n2) 01b 09b 11b 19b 21b 29b 31b 39b tjat configuration 01c 09c 11c 19c 21c 29c 31c 39c reserved 01d 09d 11d 19d 21d 29d 31d 39d elsb interrupt enable/ status table - 63a. t1/j1 mode register map - direct register 5.1.2 t1 / j1 mode register map when the temode (b0, 400h) is logic 1, the t1/j1 mode registers are accessed.
124 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 address register framer 1 framer 2 framer 3 framer4 framer 5 framer 6 framer 7 framer8 01e 09e 11e 19e 21e 29e 31e 39e elsb idle code 01f 09f 11f 19f 21f 29f 31f 39f reserved 020 0a0 120 1a0 220 2a0 320 3a0 t1 frmp configuration 021 0a1 121 1a1 221 2a1 321 3a1 t1 frmp interrupt enable 022 0a2 122 1a2 222 2a2 322 3a2 t1 frmp interrupt status 023~026 0a3~0a6 123~126 1a3~1a6 223~226 2a3~2a6 323~326 3a3~3a6 reserved 027 0a7 127 1a7 227 2a7 327 3a7 clock monitor 028~029 0a8~0a9 128~129 1a8~1a9 228~229 2a8~2a9 328~329 3a8~3a9 reserved 02a 0aa 12a 1aa 22a 2aa 32a 3aa rbom configuration 02b 0ab 12b 1ab 22b 2ab 32b 3ab rbom code status 02c 0ac 12c 1ac 22c 2ac 32c 3ac almd configuration 02d 0ad 12d 1ad 22d 2ad 32d 3ad almd interrupt enable 02e 0ae 121 1a1 221 2a1 321 3a1 almd interrupt status 02f 0af 12f 1af 22f 2af 32f 3af almd alarm detection status 030 0b0 130 1b0 230 2b0 330 3b0 tplc configuration 031 0b1 131 1b1 231 2b1 331 3b1 tplc m p access status 032 0b2 132 1b2 232 2b2 332 3b2 tplc channel indirect address/control 033 0b3 133 1b3 233 2b3 333 3b3 tplc channel indirect data buffer 034 0b4 134 1b4 234 2b4 334 3b4 thdlc #1, 2, 3 configuration 035 0b5 135 1b5 235 2b5 335 3b5 thdlc #1, 2, 3 upper transmit threshold 036 0b6 136 1b6 236 2b6 336 3b6 thdlc #1, 2, 3 lower transmit threshold 037 0b7 137 1b7 237 2b7 337 3b7 thdlc #1, 2, 3 interrupt enable 038 0b8 138 1b8 238 2b8 338 3b8 thdlc #1, 2, 3 interrupt status 039 0b9 139 1b9 239 2b9 339 3b9 thdlc #1, 2, 3 transmit data 03a~03b 0ba~0bb 13a~13b 1ba~1bb 23a~23b 2ba~2bb 33a~33b 3ba~3bb reserved 03c 0bc 13c 1bc 23c 2bc 33c 3bc ibcd configuration 03d 0bd 13d 1bd 23d 2bd 33d 3bd ibcd interrupt enable/status 03e 0be 13e 1be 23e 2be 33e 3be ibcd active code 03f 0bf 13f 1bf 23f 2bf 33f 3bf ibcd deactivate code 040 0c0 140 1c0 240 2c0 340 3c0 rcrb configuration (coss=0) / rcrb coss[30:25] (coss=1) 041 0c1 141 1c1 241 2c1 341 3c1 rcrb m p access status (coss=0) / rcrb coss[24:17] (coss=1) 042 0c2 142 1c2 242 2c2 342 3c2 rcrb ch ind addr/control (coss=0) / rcrb coss[16:9] (coss=1) 043 0c3 143 1c3 243 2c3 343 3c3 rcrb ch indirect data buffer (coss=0) / rcrb coss[8:1] (coss=1) 044 0c4 144 1c4 244 2c4 344 3c4 frmg configuration 045 0c5 145 1c5 245 2c5 345 3c5 frmg alarm transmit 046 0c6 146 1c6 246 2c6 346 3c6 ibcg configuration 047 0c7 147 1c7 247 2c7 347 3c7 ibcg loop-back code 048 0c8 148 1c8 248 2c8 348 3c8 reserved 049 0c9 149 1c9 249 2c9 349 3c9 pmon interrupt enable/status 04a 0ca 14a 1ca 24a 2ca 34a 3ca pmon bee count (lsb) 04b 0cb 14b 1cb 24b 2cb 34b 3cb pmon bee count (msb) 04c 0cc 14c 1cc 24c 2cc 34c 3cc pmon fer count (lsb) 04d 0cd 14d 1cd 24d 2cd 34d 3cd pmon fer count (msb) table - 63a. t1/j1 mode register map - direct register (continued)
125 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer address register rplc 01-18h payload control byte for ch1 to ch24 indirect register 19-30h data trunk conditioning code for ch1 to ch24 31-48h signaling trunk conditioning code for ch1 to ch24 tplc 01-18h payload control byte for ch1 to ch24 indirect register 19-30h idle code for ch1 to ch24 31-48h signaling control byte for ch1 to ch24 rcrb 01-18h / 21-38h signaling data for ch1 to ch24 indirect register 41-58h signaling control for ch1 to ch24 t1 / j1 address register framer 1 framer 2 framer 3 framer4 framer 5 framer 6 framer 7 framer8 04e 0ce 14e 1ce 24e 2ce 34e 3ce pmon oof count 04f 0cf 14f 1cf 24f 2cf 34f 3cf pmon cofa count 050 0d0 150 1d0 250 2d0 350 3d0 rplc configuration 051 0d1 151 1d1 251 2d1 351 3d1 rplc m p access status 052 0d2 152 1d2 252 2d2 352 3d2 rplc channel indirect address/control 053 0d3 153 1d3 253 2d3 353 3d3 rplc channel indirect data buffer 054 0d4 154 1d4 254 2d4 354 3d4 rhdlc #1, 2, 3 configuration 055 0d5 155 1d5 255 2d5 355 3d5 rhdlc #1, 2, 3 interrupt control 056 0d6 156 1d6 256 2d6 356 3d6 rhdlc #1, 2, 3 status 057 0d7 157 1d7 257 2d7 357 3d7 rhdlc #1, 2, 3 data 058 0d8 158 1d8 258 2d8 358 3d8 rhdlc #1, 2, 3 primary address match 059 0d9 159 1d9 259 2d9 359 3d9 rhdlc #1, 2, 3 secondary address match 05a~05c 0da~0dc 15a~15c 1da~1dc 25a~25c 2da~2dc 35a~35c 3da~3dc reserved 05d 0dd 15d 1dd 25d 2dd 35d 3dd tbom code 05e~05f 0de~0df 15e~15f 1de~1df 25e~25f 2de~2df 35e~35f 3de~3df reserved 060 prgd control 061 prgd interrupt enable/status 062 prgd shift register length 063 prgd tap 064 prgd error insertion 065 ~ 067 reserved 068 prgd pattern insertion #1 069 prgd pattern insertion #2 06a prgd pattern insertion #3 06b prgd pattern insertion #4 06c prgd pattern detector #1 06d prgd pattern detector #2 06e prgd pattern detector #3 06f prgd pattern detector #4 070 0f0 170 1f0 270 2f0 370 3f0 rhdlc 2(txcisel=0) link control / thdlc 2(txcisel=1) link control 071 0f1 171 1f1 271 2f1 371 3f1 rhdlc 2(txcisel=0) bits select / thdlc 2(txcisel=1) bits select 072~076 0f2~0f6 172~176 1f2~1f6 272~276 2f2~0f6 372~376 3f2~3f6 reserved 077 0f7 177 1f7 277 2f7 377 3f7 resi timeslot offset 078 0f8 178 1f8 278 2f8 378 3f8 resi bit offset table - 63a. t1/j1 mode register map - direct register (continued) table - 63b. t1/j1 mode register map - indirect register
126 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 5.2 register description e1 or t1 / j1 mode selection (400h) bit no. 7 6 5 4 3 2 1 0 bit name temode type reserved r/w default 1 temode: this bit selects the operation mode globally for the chip. = 0: the chip operates in the e1 mode. = 1: the chip operates in the t1/j1 mode. 5.2.1 e1 mode e1 receive path line options (000h, 080h, 100h, 180h, 200h, 280h, 300h, 380h) bit no. 7 6 5 4 3 2 1 0 bit name fifobyp unf worderr cntnfas autoyellow autored autooof autoupdate type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 fifobyp: this bit decides whether the received data should pass through or bypass the receive jitter attenuation fifo. = 0: the received data pass through the rjat fifo. = 1: the rjat fifo is bypassed. the delay is reduced by typically 24 bits . unf: = 0: the frame processor operates normally. = 1: frame searching is disabled, the receive cas/rbs buffer holds its signaling frozen, and auto_oof function, if enabled, will consider oof to be declared. worderr, cntnfas: worderr cntnfas framing bit error 0 0 each bit error in a 7-bit fas pattern is counted as a single framing bit error. 1 0 one or more than one bit errors in a 7-bit fas pattern is counted as a single framing bit error. 0 1 each bit error in a 7-bit fas pattern is counted as a single framing bit error, and a logic 0 in the second bit of ts0 of nfas is counted as a single bit error too. 1 1 an 8-bit error word is consisted of a 7-bit fas pattern and the second bit of timeslot 0 in the next nfas frame. one or more than one bit errors in this 8-bit error word is counted as a single framing bit error. autoyellow: this bit decides whether to send yellow alarm signal automatically . = 0: the automatic yellow alarm transmission is disabled. it means that the rai bit, the 3rd bit of nfas frame, can only be transmitted when the remais (b3, e1-041h) is set to 1. = 1: the automatic yellow alarm transmission is enabled. it means that the rai bit (the 3rd bit of nfas frame) in the transmit data stream will be set to 1 automatically during loss of frame alignment or receiving ais. the g706rai (b0, e1-00eh) is used to select the conditions, under which the yellow alarm signal will be transmitted automatically. autored: this bit decides whether to start trunk conditioning (replacing data on rsdn with the data stored in the data trunk conditioning registers in rplc) automatically when red alarm is declared. = 0: the trunk conditioning is not activated automatically when red (b3, e1-037 h) becomes 1. = 1: the trunk conditioning will be initiated automatically when the red (b3, e1-037h) becomes 1.
127 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer autooof: this bit decides whether to start trunk conditioning (replacing data on rsdn with the data stored in the data trunk conditioning registers in rplc) automatically in the duration of loss of basic frame. = 0: the trunk conditioning is not activated automatically when the oofv (b6, e1-036 h) becomes 1. = 1: the trunk conditioning will be activated automatically when the oofv (b6, e1-036 h) becomes 1. autoupdate: this bit decides whether the pmon and prgd registers are automatically updated once every second. = 0: the pmon and prgd registers are not automatically updated. they can only be updated by mcu operation. = 1: the pmon and prgd registers will be automatically updated once every second. e1 receive side system interface options (001h, 081h, 101h, 181h, 201h, 281h, 301h, 381h) bit no. 7 6 5 4 3 2 1 0 bit name lrckfall rssig_en rscksel mrbs mrbc oosmfais trken rxmtkc type r/w r/w r/w r/w r/w r/w r/w r/w default 0 1 0 0 0 0 0 0 lrckfall: this bit selects the active edge of lrckn to sample the data on the corresponding lrdn. = 0: the rising edge is selected. = 1: the falling edge is selected. rs sig_en: when receive clock slave mode is enabled (rsckslv = 1, b5, e1-010h), this bit configures the receive side system interface. = 0: the receive clock slave rsck reference mode is selected. the rsckn/rssign pin will be used as rsckn to output a 2.048 mhz jitter attenuated version of lrckn or an 8khz clock. = 1: the receive clock slave external signaling mode is selected. the rsckn/rssign pin is used as rssign to output the extracted signaling data. each time-slot?s signaling bits are timeslot aligned with the rsdn data stream and located in lower nibble (b5b6b7b8). rs cksel: when receive clock slave rsck reference mode is selected, this bit selects the frequency of the rsckn. = 0: the rsckn outputs an 8 khz timing reference that is generated by dividing the jitter attenuated version of lrckn. = 1: the rsckn outputs a jitter attenuated version of the 2.048 mhz line receive clock (lrckn). mrbs : in receive multiplexed mode, this bit decides which bus the corresponding framer will use to output the received data. = 0: the first multiplexed bus (mrsd[1], mrsfs[1], mrssig[1]) is selected. = 1: the second multiplexed bus (mrsd[2], mrsfs[2], mrssig[2]) is selected. m rbc: this bit turns on or off the transmission of received data from the corresponding framer to the selected multiplexed receive bus. users should complete the setting in the mrbs (b4, e1-001h) before enabling this bit. = 0: the corresponding framer will not output its data stream on the multiplexed bus. = 1: the corresponding framer will output its data stream on the multiplexed bus. oosmfais: this bit decides whether to send alarm indication signals (all ones signals) on rssign to the system side in the condition of out of signaling multi-frame. this bit affects the corresponding timeslot of the mrssign data stream if the multiplexed bus is enabled. = 0: the output on rssign/mrssig pin will not be affected by the indication of out of signaling multi-frame. = 1: the output on rssign/mrssig pin will be set to all ?1? in the condition of out of signaling multi-frame.
128 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer trken: this bit decides whether to substitute the data on rsdn with the contents in the elsb idle code register during out of basic frame. after substitution, the elsb idle code can still be overwritten by the contents in rplc data trunk conditioning registers and signaling trunk conditioning registers on per timeslot basis. this bit only has effect in receive clock slave mode, and it affects the corresponding timeslot of multiplexed bus mrsd when multiplexed bus operation is enabled. = 0: elsb idle code substitution is disabled. = 1: data in all timeslots on the rsdn will be replaced by the contents in elsb idle code register during out of basic frame. rxmtkc: this bit decides how to substitute the received data stream on rsdn and rssign with the contents in the rplc data trunk conditioning registers and the rplc signaling trunk conditioning registers. this bit affects the corresponding timeslot of the mrsd and mrssig if the multiplexed backplane is enabled. = 0: the data and signaling are substituted on a per-timeslot basis in accordance with the control bits contained in the per-timeslot payload control byte registers in the rplc. = 1: the data on rsdn of all timeslots are replaced with the data contained in the data trunk conditioning registers in rplc, and the data on rssign of all timeslots are replaced with the data contained in the signaling trunk conditioning registers. to enable this function, the pcce (b0, e1- 05ch) of the rplc must be set to logic 1. e1 transmit path configuration (002h, 082h, 102h, 182h, 202h, 282h, 302h, 382h) bit no. 7 6 5 4 3 2 1 0 bit name fifobyp taisen pathcrc tsfsrise ltckrise type r/w r/w reserved r/w reserved r/w reserved r/w default 0 0 0 0 0 fifobyp: this bit decides whether the transmit data should pass through or bypass the transmit jitter attenuation fifo. = 0: the transmit data pass through the tjat fifo. = 1: the tjat fifo is bypassed. the delay is reduced by typically 24 bits. taisen: this bit enables the line interface to generate an un-framed all-ones alarm indication signal on the ltdn pin. = 0: normal operation. = 1: ltdn transmits all ones. pathcrc: this bit allows upstream bit errors to be transmitted to the downstream transparently. when the data stream on tsdn is already in the crc multi- frame format, and the idt82v2108 is going to change some bits in the data stream, this bit decides whether to replace the original crc-4 bits with re-calculated crc-4 bits or just modify the original crc-4 bits according to the contribution caused by changing bits in the data stream. this bit only takes effect when the fptyp (b1, e1-019h) is set to 1 and one of the indis (b1, e1-040h) or fdis (b3, e1-045h) is set to 1. = 0: a new re-calculated crc-4 value will overwrite the incoming crc-4 word. as the new crc-4 value is transmitted to downstream, the bit errors in upstream can not be detected by the downstream. = 1: the incoming crc-4 value is modified to just reflect the bit changes made by idt82v2108. if there is any bit error in the upstream, it will be transmitted to the downstream transparently, and the downstream machine can detect it. ts fsrise: this bit selects the active edge of tscckb to update the transmit frame pulse on tsfsn pin. = 0: the signal on tsfsn is updated on the falling edge of tscckb. = 1: the signal on tsfsn is updated on the rising edge of tscckb. ltckrise: this bit selects the active edge of ltckn to update the data on ltdn. = 0: the data on ltdn pin is updated on the falling edge of ltckn. = 1: the data on ltdn pin is updated on the rising edge of ltckn.
129 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 transmit side system interface options (003h, 083h, 103h, 183h, 203h, 283h, 303h, 383h) bit no. 7 6 5 4 3 2 1 0 bit name tssig_en mtbs type reserved r/w reserved r/w reserved default 1 0 tssig_en: in transmit clock slave mode (tsckslv=1, b5, e1-018h), this bit configures the transmit side system interface. = 0: the transmit clock slave tsfs enable mode is selected. the tsfsn/tssign pin is used as tsfsn output. = 1: the transmit clock slave external signaling mode is selected. the tsfsn/tssign pin is used as tssign input. in transmit multiplexed mode, this bit must be set to 1. m tbs: in transmit multiplexed mode, this bit selects which multiplexed bus will interface with the corresponding framer. = 0: the incoming data is taken from the first multiplexed bus (mtsd1, mtssig1). = 1: the incoming data is taken from the second multiplexed bus (mtsd2, mtssig2). e1 transmit timing options (004h, 084h, 104h, 184h, 204h, 284h, 304h, 384h) bit no. 7 6 5 4 3 2 1 0 bit name tjatref_sel[2] tjatref_sel[1] tjatref_sel[0] ltck_sel[2] ltck_sel[1] ltck_sel[0] type reserved r/w r/w r/w r/w r/w r/w default 1 0 0 1 0 1 tjatref_sel[2:0] - transmit jitter attenuation dpll input reference clock selection the tjatref_sel[2:0] select the input reference clock for the tjat dpll. tjatref_sel[2:0] input reference clock 000 tsccka / 8 001 tscckb 010 lrck 011 tsccka 100 xck / 24 others tscckb ltck_sel[2:0] - line transmit clock (ltckn) selection ltck_sel[2:0] line transmit clock 000 tsccka / 8 001 tscckb 010 lrck 011 tsccka 100 xck / 24 others a smoothed clock output from the tjat dpll
130 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 interrupt source #1 (005h, 085h, 105h, 185h, 205h, 285h, 305h, 385h) bit no. 7 6 5 4 3 2 1 0 bit name pmon frmg frmp prgd elsb rhdlc#1 rhdlc#2 rhdlc#3 type r r r r r r r r default x x x x x x x x bits in this register indicate which function block caused an interrupt signal on int pin. reading this register does not remove the interrupt indication. to remove the interrupt indication on the int pin, the corresponding interrupt status register must be read. e1 interrupt source #2 (006h, 086h, 106h, 186h, 206h, 286h, 306h, 386h) bit no. 7 6 5 4 3 2 1 0 bit name trsi tjat rjat thdlc#1 thdlc#2 thdlc#3 rcrb type r reserved r r r r r r default x x x x x x x bits in this register indicate which function block caused an interrupt signal on int pin. reading this register does not remove the interrupt indication. to remove the interrupt indication on the int pin, the corresponding interrupt status register must be read. e1 diagnostics (007h, 087h, 107h, 187h, 207h, 287h, 307h, 387h) bit no. 7 6 5 4 3 2 1 0 bit name linelb v52dis ddlb rais txdis type reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 linelb: line loop back means that the transmit line interface data and clock (ltdn and ltckn) are internal directly comes from the received line data and clock (lrdn and lrckn). the loop back data stream can pass through the receive jitter attenuator or bypass the receive jitter attenuator (if the receive jitter attenuator is configured to be bypassed) = 0: line loop back is disabled. = 1: line loop back is enabled. v52dis: = 0: all hdlc controllers of the corresponding framer are available to use. = 1: only the first hdlc controller in receive direction (rhdlc#1) and transmit direction (thdlc#1) are available to use, the remaining hdlc controllers are disabled. note that this bit can not be reset by software reset. it can only reset by hardware reset. ddlb: digital loop back means that the received line data and clock (lrdn and lrckn) are internal directly comes from the transmit line data and clock (ltdn and ltckn) without the receive jitter attenuator. = 0: digital loop back is disabled. = 1: digital loop back is enabled rais: = 0: normal operation. = 1: force the data output on rsdn to be all ones, and freeze the signal on rssign at the current valid signaling in receive clock slave external signaling mode. in receive multiplexed mode, the data of the corresponding framer output on mrsd is forced to be all ones, and the signal of the corresponding framer output on mrssig is frozen at the current valid signaling. txdis: = 0: normal transmission. = 1: force the data to be transmitted on the tldn pin to be all zeros.
131 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 revision / chip id / global pmon update (009h) bit no. 7 6 5 4 3 2 1 0 bit name type[2] type[1] type[0] id[4] id[3] id[2] id[1] id[0] type r r r r r r r r default 0 0 0 0 0 0 0 1 writing to this register causes all performance monitor and prgd generator/detector counters to be updated simultaneously. type[2:0]: type[2:0] are fixed to 000, representing the idt82v2108 chip. id[4:0]: id[4:0] are fixed to 00011, representing the current version number of the idt82v2108. e1 data link micro select / framer reset (00ah, 08ah, 10ah, 18ah, 20ah, 28ah, 30ah, 38ah) bit no. 7 6 5 4 3 2 1 0 bit name rhdlcsel[1] rhdlcsel[0] thdlcsel[1] thdlcsel[0] txcisel reset type r/w r/w r/w r/w r/w reserved r/w default x x x x x 0 rhdlcsel[1:0]: the rhdlcsel[1:0] select one of the three hdlc receivers to be accessed by the microprocessor. at one time, the microprocessor can only access one hdlc controller. these bits must be set before using the hdlc controller. rhdlcsel[1:0] the hdlc receiver 00 rhdlc #1 01 rhdlc #2 10 rhdlc #3 11 reserved thdlcsel[1:0]: the thdlcsel[1:0] select one of the three hdlc transmitters to be accessed by the microprocessor. at one time, the microprocessor can only access one hdlc controller. these bits must be set before using the hdlc controller. thdlcsel[1:0] the hdlc transmitter 00 thdlc #1 01 thdlc #2 10 thdlc #3 11 reserved txcisel: the registers addressed from e1-028h to e1-02dh are shared by the hdlc receiver and hdlc transmitter to decide the position of the extracted bit in the received data stream and the inserted bit in the transmitting data stream respectively. so this bit is used to decide whether the read/write operation on the registers addressed from e1-028h to e1-02dh is for the hdlc receiver or for the hdlc transmitter. = 0: the read/write operation on registers addressed from 028 h to 02d h is for hdlc receiver. = 1: the read/write operation on registers addressed from 028h to 02d h is for the hdlc transmitter . reset: this bit implements a software reset for individual framer. = 0: normal operation. = 1: the corresponding framer is held in reset. however, this bit, the bits in this register and the v52dis (b3, e1-007h) can not be reset. therefor, a logic 0 must be written to bring the framer out of reset. holding the framer in a reset state effectively puts it into a low power standby mode. a hardware reset clears the reset bit, the bits in this register and the v52dis (b3, e1-007h).
132 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 interrupt id (00bh) bit no. 7 6 5 4 3 2 1 0 bit name int[8] int[7] int[6] int[5] int[4] int[3] int[2] int[1] type r r r r r r r r default x x x x x 0 0 0 this register indicates which one of the eight framers caused the interrupt int pin to be logic low. when any one of the eight framers caused the interrupt, the corresponding bit in the int[8:1] will be high. e1 pattern generator / detector positioning / control (00ch) bit no. 7 6 5 4 3 2 1 0 bit name prgdsel[2] prgdsel[1] prgdsel[0] rxpatgen unf_gen unf_det type r/w r/w r/w reserved r/w r/w r/w default 0 0 0 0 0 0 the idt82v2108 has only one prbs generator/detector (prgd) shared by all the eight framers. at one time, only one framer can use this prgd. this register selects which framer will use the prgd and how the prgd will be used. prgdsel[2:0]: prgdsel[2:0] select one of the eight framers to be tested by the prgd block. prgdsel[2:0] selected framer 000 framer 1 001 framer 2 010 framer 3 011 framer 4 100 framer 5 101 framer 6 110 framer 7 111 framer 8 rxpatgen: = 0: the pattern in prgd is generated in the transmit path and is detected in the receive path. = 1: the pattern in prgd is generated in the receive path and is detected in the transmit path. unf_gen: = 0: which timeslots of the selected path will be replaced by the prgd pattern is specified in tplc or rplc. = 1: all the 32 timeslots of the selected path will be replaced by the prgd pattern. unf_det: = 0: which timeslots of the selected path will be detected by prgd pattern is specified in tplc or rplc . = 1: all the 32 timeslots of the selected path will be detected by prgd pattern.
133 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 clock monitor (00dh, 08dh, 10dh, 18dh, 20dh, 28dh, 30dh, 38dh) bit no. 7 6 5 4 3 2 1 0 bit name xck tscckb tsccka rscck lrck type reserved r r r r r default x x x x x this register provides activity monitoring on the idt82v2108 clocks. when a monitored clock signal makes a low to high transition, the corresponding bit in this register is set to 1, and this bit remains to be 1 until this register is read. after a read operation on this register, all the bits in this register will be cleared to 0. a lack of transitions of the monitored clock will be indicated by 0 in the corresponding bit, which means that the clock fails. this register should be read periodically to detect clock failures. xck: = 0: after the bit is read. = 1: a low to high transition occurs on the xck. tscckb: = 0: after the bit is read. = 1: a low to high transition occurs on the tscckb. tsccka: = 0: after the bit is read. = 1: a low to high transition occurs on the tsccka. rscck: = 0: after the bit is read. = 1: a low to high transition occurs on the rscck. lrck: = 0: after the bit is read. = 1: a low to high transition occurs on the lrck. e1 receive path frame pulse configuration (00eh, 08eh, 10eh, 18eh, 20eh, 28eh, 30eh, 38eh) bit no. 7 6 5 4 3 2 1 0 bit name perts_rsfs ref_mrsfs oocmfe0 g706rai type reserved r/w r/w r/w r/w default 0 0 0 0 perts_rsfs, ref_mrsfs: perts_rsfs ref_mrsfs the pulse on the rsfsn/mrsfs 0 0 the pulse output on the rsfs/mrsfs pin is forced to be logic 0. 1 0 the signal on the rsfs/mrsfs pin is determined by the rohm, brxsmfp, brcmfp and altifp (b3b2b1b0, e1-011 h). x 1 rsfsn/mrsfs contains a reference frame pulse identical to the receive system side common frame pulse on the rscfs/mrscfs pin. in receive multiplexed mode, these two bits in the eight framers should be set in the same value. oocmfe0: this bit selects one of two operation modes concerning the transmission of e-bits when the framer is out of crc-4 multiframe. = 0: transmit ones for the e-bits while out of crc-4 multi-frame. = 1: transmit zeros for the e-bits while out of crc-4 multi-frame. (this setting is compliant with the crc-4 to non-crc-4 interworking procedure in annex b of g.706)
134 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer g706rai: when the autoyellow (b3, e1-00h) is set as 1, which means the rai bit will be transmitted automatically in certain conditions, this bit selects one of two criteria defining the conditions. if the autoyellow (b3, e1-00h) is 0, g706rai does not have any effect. = 0: the rai bit will be transmitted when out of basic frame, when aisd is declared, when crc-4 to non-crc-4 interworking is declared or when the off-line searching indicates out of basic frame. this definition follows the etsi standards. = 1: the rai bit will be transmitted when out of basic frame or when aisd is declared, but not when crc-4 to non-crc-4 interworking is declared nor when offline out-of frame is declared. this definition follows the annex b of g.706. e1 receive backplane configuration (010h, 090h, 110h, 190h, 210h, 290h, 310h, 390h) bit no. 7 6 5 4 3 2 1 0 bit name fractn[1] fractn[0] rsckslv de fe cms rate[1] rate[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 1 1 0 0 0 fractn[1:0]: when receive clock master mode is selected, (rsckslv=0, b5, e1-010h), these two bits selects one of the operation modes shown in the following table. the two bits will be ignored if the receive clock slave mode is selected. (rsckslv=1, b5, e1-010h). fractn[1:0] operation mode 0 0 receive clock master full e1 mode 0 1 reserved 1 0 receive clock master fractional e1 mode 1 1 receive clock master fractional e1 with f-bit mode ?full e1? mode means that the received entire frame (256 bits) is clocked out from rsdn pin, and there are no gaps in the rsckn clock pulse. ? fractional e1 ? mode means that the rsckn only clocks out on the selected time slots, and rsckn does not pulse during those un-selected time slots. the time slots selection is decided by dtrkc/nxts (b6, e1-rplc-indirect register-20-3f h). ? fractional e1 with f-bit? mode is to support itu recommendation g.802 where 1.544 mbit/s data is carried within a 2.048 mbit/s data stream. in this configuration, bits from the second bit of ts 26 to the last bit of the basic frame are suppressed, and the remaining bits can be selectively gapped by the dtrkc/nxts (b6, e1-rplc-indirect register-20-3f h). rs ckslv: = 0: receive clock master mode is selected. = 1: received clock slave mode is selected. rs ckslv must be set to 1 to support multiplexed backplane. de: = 0: the signal on the rsdn and rssign pins are updated on the falling edge of the rscck or the rsck. = 1: the signal on the rsdn and rssig pins are updated on the rising edge of the rscck or the rsck. in receive multiplexed mode, the de in all eight framers should be set at the same value. fe: if fe is not equal to de, the frame pulse will be sampled or updated one clock edge after the corresponding data pulse. = 0: the signal on the rscfs pin is sampled or the signal on the rsfsn pin is updated on the falling edge of the rscck or the rsckn. = 1: the signal on the rscfs pin is sampled or the signal on the rsfsn pin is updated on the rising edge of the rscck or the rsckn. in receive multiplexed mode, the fe in all eight framers should be set at the same value. cms: = 0: the clock frequency of rscck/mrscck is the same as the bit rate of the backplane. = 1: the clock frequency of rscck/mrscck is the double of the bit rate of the backplane. the cms of all eight framers should be set at the same value.
135 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer rate[1:0]: these bits determine the bit rate of the received data stream on the backplane. note that to operate in the receive multiplexed mode, the rate[1:0] in all eight framers should be configured to select the 8.192 mbit/s backplane bit rate. when the rate[1:0] selects the 8.192 mbit/s, the rsckslv (b5, e1-010h) must be set to 1. rate[1:0] backplane rate 0 0 reserved 0 1 2.048m bit/s 1 0 reserved 1 1 8.192m bit/s e1 receive backplane frame pulse configuration (011h, 091h, 111h, 191h, 211h, 291h, 311h, 391h) bit no. 7 6 5 4 3 2 1 0 bit name fpinv fpmode rohm brxsmfp brxcmfp altifp type reserved r/w r/w reserved r/w r/w r/w r/w default 0 1 0 0 0 0 fpinv: = 0: the framing pulse rscfs and rsfsn/mrsfs are active high. = 1: the framing pulse rscfs and rsfsn/mrsfs are active low. when this bit is used to indicate the active pulse for rscfs or mrsfs, then it should be set to the same value for all eight framers. fpmode: this bit decides whether to use rscfs as the framing pulse or not. in receive clock master mode (rsckslv=0, b5, e1-010h), the fpmode must be 0. = 0: rscfs/mrscfs is unused. = 1: rscfs/mrscfs is used. in receive multiplexed mode, the fpmode in all eight framers should be set to the same value. rohm: when the perts_rsfs and the ref_mrsfs (b3~2, e1-00eh) are 1 and 0 respectively, this bit decides whether to use rsfsn pin to indicate ts0 and ts16. details are tabulated in the following table. brxsmfp, brxcmfp: when the perts_rsfs and the ref_mrsfs (b3~2, e1-00eh) are 1 and 0 respectively, these two bits, together with the altifp bit, select the output signal seen on the rsfsn pin. details are tabulated in the following table. altifp: when the rsfsn pin is configured to output the framing pulse for basic frame, signaling multiframe or crc multiframe, this bit permits suppression of every other framing pulse. the following table shows the details for the different configurations of rsfsn pin.
136 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer rohm brxsmfp brxcmfp altifp rsfsn / mrsfs indication 0 0 0 0 the rsfsn asserts for 1 bit cycle on the first bit of each basic frame output on the rsdn. 0 0 0 1 the rsfsn asserts for 1 bit cycle on the first bit of every second basic frame output on the rsdn. 0 0 1 0 the rsfsn asserts for 1 bit cycle on the first bit of the first frame of each crc multi-frame output on the rsdn (in case crc multi-frame is disabled, the rsfsn asserts every 16 frames). 0 0 1 1 the rsfsn asserts for 1 bit cycle on the first bit of the first frame of every second crc multi- frame output on the rsdn (in case crc multi-frame is disabled, the rsfsn asserts every 32 frames). 0 1 0 0 the rsfsn asserts for 1 bit cycle on the first bit of the first frame of each signaling multi- frame output on the rsdn (in case signaling multi-frame is disabled, the rsfsn asserts every 16 frames). 0 1 0 1 the rsfsn asserts for 1 bit cycle on the first bit of the first frame of every second signaling multi-frame output on the rsdn (in case signaling multi-frame is disabled, the rsfsn asserts every 32 frames). 0 1 1 0 the rsfsn goes high/low at the start of the first bit of the first frame of each signaling multi- frame, and does the opposite at the end of the first bit of the first frame of each crc multi- frame. 0 1 1 1 the rsfsn goes high/low at the start of the first bit of the first frame of every second signaling multi-frame, and does the opposite at the end of the first bit of the first frame of every second crc multi-frame. 1 x x x the rsfsn pin pulses during the entire ts0 period and the entire ts16. in receive multiplexed mode, when the perts_rsfs and the ref_mrsfs (b3~2, e1-00eh) are 1 and 0 respectively, the mrsfs can only indicate the first bit of a basic frame of the selected first framer no matter what is set in the rohm, brxsmfp, brxcmfp and altifp.
137 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 receive backplane parity / f-bit configuration (012h, 092h, 112h, 192h, 212h, 292h, 312h, 392h) bit no. 7 6 5 4 3 2 1 0 bit name rptyp rptye fixf fixpol pty_extd tri[1] tri[0] type r/w r/w r/w r/w r/w reserved r/w r/w default 0 0 0 0 0 0 0 rptyp: this bit selects the parity type for the receive side system data. = 0: even parity is employed, which means a logic one should be inserted in the first bit of ts0 of each basic frame when the number of ones in the previous basic frame is odd. = 1: odd parity is employed, which means a logic one should be inserted in the first bit of ts0 of each basic frame when the number of ones in the previous basic frame is even. rptye: this bit enables the parity for the receive side system data. the bit is invalid in receive clock master fractional e1 (with f-bit) mode. = 0: disable the parity on the rsdn/mrsd pin. = 1: enable the parity on the rsdn/mrsd pin. fixf: this bit controls whether the parity bit position is fixed at the level defined by the fixpol. it is invalid in receive clock master fractional e1 (with f-bit) mode and valid when rptye = 0. = 0: no action. = 1: the setting in the fixpol is valid. the first bit of ts0 of each basic frame output on the rsdn/mrsd pin is fixed with the value of fixpol. fixpol: this bit is invalid in receive clock master fractional e1 (with f-bit) mode and valid when the rptye = 0 and the fixf = 1. = 0: force the first bit of ts0 of each basic frame output on the rsdn/mrsd pin to be logic 0. = 1: force the first bit of ts0 of each basic frame output on the rsdn/mrsd pin to be logic 1. pty_extd: when the parity is calculated over the previous basic frame, the first bit of ts0 on the rsdn pin can be included or not. the decision is made by this bit. = 0: the first bit of ts0 on the rsdn/mrsd pin is not calculated. = 1: the first bit of ts0 on the rsdn/mrsd pin is calculated. tri[1:0]: tri[1:0] output status on the rsdn/mrsd and rssign/mrssig pin 0 0 in high impedance 1 0 reserved 0 1 normal output 1 1 reserved
138 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 receive backplane time slot offset (013h, 093h, 113h, 193h, 213h, 293h, 313h, 393h) bit no. 7 6 5 4 3 2 1 0 bit name tsoff[6] tsoff[5] tsoff[4] tsoff[3] tsoff[2] tsoff[1] tsoff[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 these bits determine the timeslot offset between the signal on the rscfs pin and the start of the basic frame output on the rsdn & rssign pin. if the rscfs does not exist, the timeslot offset is between the rsfsn and the start of the basic frame output on the rsdn & rssign. in receive multiplexed mode, each framer contributes every fourth timeslot on mrsd[1:2] and mrssig[1:2]. they define a binary number. the offset can be set from 0 to 127 timeslots. e1 receive backplane bit offset (014h, 094h, 114h, 194h, 214h, 294h, 314h, 394h) bit no. 7 6 5 4 3 2 1 0 bit name rsd_rscfs_edge boff_en boff[2] boff[1] boff[0] type reserved r/w reserved r/w r/w r/w r/w default 0 0 0 0 0 rsd_rscfs_edge: valid when the cms (b2, e1-010h) is logic 1 and the de (b4, e1-010h) is not equal to the fe (b3, e1-010h). = 0: select the second active edge of the rscck to update the signal on the rsdn, rssign and rsfsn pins, or select the first active edge of the mrscck to update the signal on the mrsd, mrssig and mrsfs pins. = 1: select the first active edge of the rscck to update the signal on the rsdn, rssign and rsfsn pins, or select the second active edge of the mrscck to update the signal on the mrsd, mrssig and mrsfs pins. (the signal on the rscfs/mrscfs pin is always sampled on the first active edge.) in receive multiplexed mode, the rsd_rscfs_edge in all eight framers should be set at the same value. when the cms (b2, e1-010h) is logic 1 and the de (b4, e1-010h) is equal to fe (b3, e1-010h), the signals on the rsdn/mrsd, rssign/ mrssig and rsfsn/mrsfs pins are updated on the first active edge of the rscck/mrscck. boff_en: valid when the cms (b2, e1-010h) is logic 0. = 0: disable the bit offset. = 1: enable the bit offset. boff[2:0]: valid when the cms (b2, e1-010h) is logic 0 and the boff_en is logic 1. these bits define a binary number. the content in the boff[2:0] determines the bit offset between the signal on the rscfs pin and the start of the basic frame output on the rsdn & rssign pin. if the rscfs does not exist, the timeslot offset is between the rsfsn and the start of the basic frame output on the rsdn & rssign. it is also available in receive multiplexed mode. programming of the bit offsets is consistent with the convention established by the concentration highway interface (chi) specification. refer to the functional description for details.
139 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 transmit backplane configuration (018h, 098h, 118h, 198h, 218h, 298h, 318h, 398h) bit no. 7 6 5 4 3 2 1 0 bit name tsckslv de fe cms rate[1] rate[0] type reserved r/w r/w r/w r/w r/w r/w default 1 1 1 0 0 0 tsckslv: = 0: transmit clock master mode is selected. = 1: transmit clock slave mode or transmit multiplexed mode is selected. de: = 0: the data on the tsdn/mtsd and tssign/mtssig pins are sampled on the falling edge of the tscckb/mtscckb or the ltckn. = 1: the data on the tsdn/mtsd and tssign/mtssig pins are sampled on the rising edge of the tscckb/mtscckb or the ltckn. in transmit multiplexed mode, the de of the eight framers should be set to the same value. fe: valid in transmit clock slave mode and transmit multiplexed mode. = 0: the data on the tscfs/mtscfs pin is sampled on the falling edge of tscckb/mtscckb. = 1: the data on the tscfs/mtscfs pin is sampled on the rising edge of tscckb/mtscckb. in transmit multiplexed mode, the fe of the eight framers should be set to the same value. cms: = 0: the clock rate of tscckb/mtscckb is the same as that of the backplane. = 1: the clock rate of tscckb/mtscckb is twice that of the backplane. the cms of the eight framers should be set to the same value. rate[1:0]: these bits determine the bit rate of the transmit data stream on the backplane. note that if any of the eight framers selects the 8.192 mbit/s backplane bit rate, the multiplxed bus will be enabled for the chip. when the rate[1:0] selects the 8.192 mbit/s, the tsckslv (b5, e1-018h) must be set to 1. rate[1:0] backplane rate 0 0 reserved 0 1 2.048m bit/s 1 0 reserved 1 1 8.192m bit/s (valid to eight frames)
140 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 transmit backplane frame pulse configuration (019h, 099h, 119h, 199h, 219h, 299h, 319h, 399h) bit no. 7 6 5 4 3 2 1 0 bit name fpinv fptyp type reserved r/w reserved r/w reserved default 0 0 fpinv: = 0: the positive pulse on the tscfs pin is valid. = 1: the negative pulse on the tscfs pin is valid. the fpinv of the eight framers should be the same value. fptyp: = 0: indicate that the signal on the tscfs pin pulses during the first bit of each basic frame. = 1: indicate that the signal on the tscfs pin asserts on the first bit of each signaling multi-frame and asserts oppositely following the first bit of each crc multi-frame. the fptyp of the eight framers should be the same value. e1 transmit backplane parity configuration and status (01ah, 09ah, 11ah, 19ah, 21ah, 29ah, 31ah, 39ah) bit no. 7 6 5 4 3 2 1 0 bit name tptyp tptye tdi pty_extd type r/w r/w r reserved r/w reserved default 0 0 x 0 tptyp: = 0: even parity is employed in the first bit of ts0 of each basic frame input from the tsdn/mtsd pin, which means a logic one is expected in the position when the number of ones in the previous basic frame is odd. = 1: odd parity is employed in the first bit of ts0 of each basic frame input from the tsdn/mtsd pin, which means a logic one is expected in the position when the number of ones in the previous basic frame is even. tptye: this bit decides whether to generate an interrupt when a parity error is detected on the tsdn/mtsd pin. = 0: no interrupt is generated when a parity error is detected on the tsdn/mtsd pin. = 1: an interrupt on the int pin is generated when a parity error is detected on the tsdn/mtsd pin . tdi: this bit indicates the parity error detected on the tsdn/mtsd p in. = 0: no parity error is detected on the tsdn/mtsd pin. = 1: a parity error is detected on the tsdn /mtsd pin. this bit is cleared to 0 when it is read. pty_extd: = 0: the parity checking is calculated over the previous basic frame, excluding the first bit of ts0 on the tsdn/mtsd pin. = 1: the parity checking is calculated over the previous basic frame, including the first bit of ts0 on the tsdn/mtsd pin.
141 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 transmit backplane time slot offset (01bh, 09bh, 11bh, 19bh, 21bh, 29bh, 31bh, 39bh) bit no. 7 6 5 4 3 2 1 0 bit name tsoff[6] tsoff[5] tsoff[4] tsoff[3] tsoff[2] tsoff[1] tsoff[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 in transmit clock slave mode, the content in the tsoff[6:0] determines the timeslot offset between the tscfs and the start of the basic frame transmitted on the tsdn & tssign. in transmit multiplexed mode, the content in the tsoff[6:0] determines the timeslot offset between the mtscfs and the start of the basic frame transmitted on the mtsd & mtssig for the corresponding framer. in transmit clock master mode, the timeslot offset is disabled, that is, the tsoff[6:0] must be logic 0. the tsoff[6:0] define a binary number . the offset can be set from 0 to 127 timeslots. e1 transmit backplane bit offset (01ch, 09ch, 11ch, 19ch, 21ch, 29ch, 31ch, 39ch) bit no. 7 6 5 4 3 2 1 0 bit name coff chi boff[2] boff[1] boff[0] type reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 coff: valid when the cms (b2, e1-018h) is logic 1. = 0: select the first active edge of the tscckb/mtscckb to sample the data on the tsdn/mtsd, tssign/mtssig and to update the data on the tsfsn. = 1: select the second active edge of the tscckb/mtscckb to sample the data on the tsdn/mtsd, tssign/mtssig and to update the data on the tsfsn. (the signal on the tscfs/mtscfs pin is always sampled on the first active edge.) chi: this bit controls if the value in the boff[2:0] is the actual value or meets the concentration highway interface (chi) specification. = 0: disable the chi specification. = 1: enable the chi specification. boff[2:0]: in transmit clock master mode, the content in the boff[2:0] determines the bit offset between the signal on the tsfsn and the start of the basic frame transmitted on the tsdn. in transmit clock slave mode, the content in the boff[2:0] determines the bit offset between the tscfs and the start of the basic frame transmitted on the tsdn & tssign. in transmit multiplexed mode, the content in the boff[2:0] determines the bit offset between the mtscfs and the start of the basic frame transmitted on the mtsd & mtssig. these bits define a binary number. when the chi = 0, the setting in the boff[2:0] is their actual value (0 stands for 0 bit offset, 1 stands for 1 bit offset). when the chi = 1, programming of the boff[2:0] is consistent with the convention established by the concentration highway interface (chi) specification. refer to the functional description for details.
142 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rjat interrupt status (020h, 0a0h, 120h, 1a0h, 220h, 2a0h, 320h, 3a0h) bit no. 7 6 5 4 3 2 1 0 bit name ovri undi type reserved r r default x x ovri: if data are still attempted to write into the fifo when the fifo is already full, the overwritten event will occur. = 0: the rjat fifo is not overwritten. = 1: the rjat fifo is overwritten. this bit is cleared to 0 when it is read. undi: if data are still attempted to read from the fifo when the fifo is already empty, the under-run event will occur. = 0: the rjat fifo is not under-run. = 1: the rjat fifo is under-run. this bit is cleared to 0 when it is read. e1 rjat reference clock divisor (n1) control (021h, 0a1h, 121h, 1a1h, 221h, 2a1h, 321h, 3a1h) bit no. 7 6 5 4 3 2 1 0 bit name n1[7] n1[6] n1[5] n1[4] n1[3] n1[2] n1[1] n1[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n1[7:0] + 1) is the divisor of the input reference clock, which is the ratio between the frequency of the input reference clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the rjat. e1 rjat output clock divisor (n2) control (022h, 0a2h, 122h, 1a2h, 222h, 2a2h, 322h, 3a2h) bit no. 7 6 5 4 3 2 1 0 bit name n2[7] n2[6] n2[5] n2[4] n2[3] n2[2] n2[1] n2[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n2[7:0] + 1) is the divisor of the output smoothed clock, which is the ratio between the frequency of the output smoothed clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the rjat.
143 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rjat configuration (023h, 0a3h, 123h, 1a3h, 223h, 2a3h, 323h, 3a3h) bit no. 7 6 5 4 3 2 1 0 bit name cent unde ovre limit type reserved r/w r/w r/w reserved r/w default 0 0 0 1 cent: the cent allows the rjat fifo to self-center its read pointer, maintaining the pointer at least 4 ui away from the fifo being empty or full. = 0: disable the self-center. data are pass through uncorrupted. = 1: enable the fifo to self-center its read pointer when the fifo is 4 ui away from being empty or full. a positive transition in this bit will execute a self-center action immediately. unde: this bit decides whether to generate an interrupt when the rjat fifo is under-run. = 0: no interrupt is generated when the rjat fifo is under-run. = 1: an interrupt on the int pin is generated when the rjat fifo is under-run. ovre: this bit decides whether to generate an interrupt when the rjat fifo is overwritten. = 0: no interrupt is generated when the rjat fifo is overwritten. = 1: an interrupt on the int pin is generated when the rjat fifo is overwritten. limit: = 0: disable the limitation of the jitter attenuation. = 1: enable the dpll to limit the jitter attenuation by enabling the fifo to increase or decrease the frequency of the output smoothed clock when the read pointer is 1 ui away from the fifo being empty or full. this limitation of jitter attenuation ensures that no data is lost during high phase shift conditions. e1 tjat interrupt status (024h, 0a4h, 124h, 1a4h, 224h, 2a4h, 324h, 3a4h) bit no. 7 6 5 4 3 2 1 0 bit name ovri undi type reserved r r default x x ovri: if data are still attempted to write into the fifo when the fifo is already full, the overwritten event will occur. = 0: the tjat fifo is not overwritten. = 1: the tjat fifo is overwritten. this bit is cleared to 0 when it is read. undi: if data are still attempted to read from the fifo when the fifo is already empty, the under-run event will occur. = 0: the tjat fifo is not under-run. = 1: the tjat fifo is under-run. this bit is cleared to 0 when it is read.
144 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 tjat reference clock divisor (n1) control (025h, 0a5h, 125h, 1a5h, 225h, 2a5h, 325h, 3a5h) bit no. 7 6 5 4 3 2 1 0 bit name n1[7] n1[6] n1[5] n1[4] n1[3] n1[2] n1[1] n1[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n1[7:0] + 1) is the divisor of the input reference clock, which is the ratio between the frequency of the input reference clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the tjat. e1 tjat output clock divisor (n2) control (026h, 0a6h, 126h, 1a6h, 226h, 2a6h, 326h, 3a6h) bit no. 7 6 5 4 3 2 1 0 bit name n2[7] n2[6] n2[5] n2[4] n2[3] n2[2] n2[1] n2[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n2[7:0] + 1) is the divisor of the output smoothed clock, which is the ratio between the frequency of the output smoothed clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the tjat. e1 tjat configuration (027h, 0a7h, 127h, 1a7h, 227h, 2a7h, 327h, 3a7h) bit no. 7 6 5 4 3 2 1 0 bit name cent unde ovre limit type reserved r/w r/w r/w reserved r/w default 0 0 0 1 cent: the cent allows the tjat fifo to self-center its read pointer, maintaining the pointer at least 4 ui away from the fifo being empty or full. = 0: disable the self-center. data are pass through uncorrupted. = 1: enable the fifo to self-center its read pointer when the fifo is 4 ui away from being empty or full. a positive transition in this bit will execute a self-center action immediately. unde: this bit decides whether to generate an interrupt when the tjat fifo is under-run. = 0: no interrupt is generated when the tjat fifo is under-run. = 1: an interrupt on the int pin is generated when the tjat fifo is under-run. ovre: this bit decides whether to generate an interrupt when the tjat fifo is overwritten. = 0: no interrupt is generated when the tjat fifo is overwritten. = 1: an interrupt on the int pin is generated when the tjat fifo is overwritten. limit: = 0: disable the limitation of the jitter attenuation. = 1: enable the dpll to limit the jitter attenuation by enabling the fifo to increase or decrease the frequency of the output smoothed clock when the read pointer is 1 ui away from the fifo being empty or full. this limitation of jitter attenuation ensures that no data is lost during high phase shift conditions.
145 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rhdlc receive data link 1 control (txcisel = 0) (028h, 0a8h, 128h, 1a8h, 228h, 2a8h, 328h, 3a8h) bit no. 7 6 5 4 3 2 1 0 bit name dl1_even dl1_odd ts16_en dl1_ts[4] dl1_ts[3] dl1_ts[2] dl1_ts[1] dl1_ts[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 0, this register is used for the receive hdlc #1. dl1_even: = 0: the data is not extracted from the even frames. = 1: the data is extracted from the even frames. the even frames are fas frames. dl1_odd: = 0: the data is not extracted from the odd frames. = 1: the data is extracted from the odd frames. the odd frames are nfas frames. ts16_en: this bit is valid when the dl1_even and dl1_odd are both 0. = 0: the data is not extracted from the ts16. = 1: the data is extracted from the ts16. dl1_ts[4:0]: these bits represent the binary value of the timeslot to extract the data from. they are invalid when the dl1_even and the dl1_odd are both logic 0. e1 rhdlc data link 1 bit select (txcisel = 0) (029h, 0a9h, 129h, 1a9h, 229h, 2a9h, 329h, 3a9h) bit no. 7 6 5 4 3 2 1 0 bit name dl1_bit[7] dl1_bit[6] dl1_bit[5] dl1_bit[4] dl1_bit[3] dl1_bit[2] dl1_bit[1] dl1_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 0, this register is used for the receive hdlc #1. dl1_bitn: = 0: the data is not extracted from the corresponding bit. = 1: the data is extracted from the corresponding bit of the assigned timeslot. these bits are invalid when the dl1_even and the dl1_odd are both logic 0. the dl1_bit[7] corresponds to the first bit (msb) of the selected timeslot.
146 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rhdlc receive data link 2 control (txcisel = 0) (02ah, 0aah, 12ah, 1aah, 22ah, 2aah, 32ah, 3aah) bit no. 7 6 5 4 3 2 1 0 bit name dl2_even dl2_odd dl2_ts[4] dl2_ts[3] dl2_ts[2] dl2_ts[1] dl2_ts[0] type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 0, this register is used for the receive hdlc #2. dl2_even: = 0: the data is not extracted from the even frames. = 1: the data is extracted from the even frames. the even frames are fas frames. dl2_odd: = 0: the data is not extracted from the odd frames. = 1: the data is extracted from the odd frames. the odd frames are nfas frames. dl2_ts[4:0]: these bits represent the binary value of the timeslot to extract the data from. they are invalid when the dl2_even and the dl2_odd are both logic 0. e1 rhdlc data link 2 bit select (txcisel = 0) (02bh, 0abh, 12bh, 1abh, 22bh, 2abh, 32bh, 3abh) bit no. 7 6 5 4 3 2 1 0 bit name dl2_bit[7] dl2_bit[6] dl2_bit[5] dl2_bit[4] dl2_bit[3] dl2_bit[2] dl2_bit[1] dl2_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 0, this register is used for the receive hdlc #2. dl2_bitn: = 0: the data is not extracted from the corresponding bit. = 1: the data is extracted from the corresponding bit of the assigned timeslot. these bits are invalid when the dl2_even and the dl2_odd are both logic 0. the dl2_bit[7] corresponds to the first bit (msb) of the selected timeslot.
147 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rhdlc receive data link 3 control (txcisel = 0) (02ch, 0ach, 12ch, 1ach, 22ch, 2ach, 32ch, 3ach) bit no. 7 6 5 4 3 2 1 0 bit name dl3_even dl3_odd dl3_ts[4] dl3_ts[3] dl3_ts[2] dl3_ts[1] dl3_ts[0] type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 0, this register is used for the receive hdlc #3. dl3_even: = 0: the data is not extracted from the even frames. = 1: the data is extracted from the even frames. the even frames are fas frames. dl3_odd: = 0: the data is not extracted from the odd frames. = 1: the data is extracted from the odd frames. the odd frames are nfas frames. dl3_ts[4:0]: these bits represent the binary value of the timeslot to extract the data from. they are invalid when the dl3_even and the dl3_odd are both logic 0. e1 rhdlc data link 3 bit select (txcisel = 0) (02dh, 0adh, 12dh, 1adh, 22dh, 2adh, 32dh, 3adh) bit no. 7 6 5 4 3 2 1 0 bit name dl3_bit[7] dl3_bit[6] dl3_bit[5] dl3_bit[4] dl3_bit[3] dl3_bit[2] dl3_bit[1] dl3_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 0, this register is used for the receive hdlc #3. dl3_bitn: = 0: the data is not extracted from the corresponding bit. = 1: the data is extracted from the corresponding bit of the assigned timeslot. these bits are invalid when the dl3_even and the dl3_odd are both logic 0. the dl3_bit[7] corresponds to the first bit (msb) of the selected timeslot.
148 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc transmit data link 1 control (txcisel = 1) (028h, 0a8h, 128h, 1a8h, 228h, 2a8h, 328h, 3a8h) bit no. 7 6 5 4 3 2 1 0 bit name dl1_even dl1_odd ts16_en dl1_ts[4] dl1_ts[3] dl1_ts[2] dl1_ts[1] dl1_ts[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 1, this register is used for the transmit hdlc #1. dl1_even: = 0: the data is not inserted to the even frames. = 1: the data is inserted to the even frames. the even frames are fas frames. dl1_odd: = 0: the data is not inserted to the odd frames. = 1: the data is inserted to the odd frames. the odd frames are nfas frames. ts16_en: this bit is valid when the dl1_even and dl1_odd are both 0 and the ccs is selected (the sigen [b6, e1-040h] and the dlen [b5, e1-040h] are logic 1). = 0: the data is not inserted to the ts16. = 1: the data is inserted to the ts16. dl1_ts[4:0]: the data is inserted into the timeslot defined by the binary number in these bits. they are invalid when the dl1_even and the dl1_odd are both logic 0. e1 thdlc data link 1 bit select (txcisel = 1) (029h, 0a9h, 129h, 1a9h, 229h, 2a9h, 329h, 3a9h) bit no. 7 6 5 4 3 2 1 0 bit name dl1_bit[7] dl1_bit[6] dl1_bit[5] dl1_bit[4] dl1_bit[3] dl1_bit[2] dl1_bit[1] dl1_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 1, this register is used for the transmit hdlc #1. dl1_bitn: = 0: the data is not inserted to the corresponding bit. = 1: the data is inserted to the corresponding bit of the assigned timeslot. these bits are invalid when the dl1_even and the dl1_odd are both logic 0. the dl1_bit[7] corresponds to the first bit (msb) of the selected timeslot.
149 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc transmit data link 2 control (txcisel = 1) (02ah, 0aah, 12ah, 1aah, 22ah, 2aah, 32ah, 3aah) bit no. 7 6 5 4 3 2 1 0 bit name dl2_even dl2_odd dl2_ts[4] dl2_ts[3] dl2_ts[2] dl2_ts[1] dl2_ts[0] type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 1, this register is used for the transmit hdlc #2. dl2_even: = 0: the data is not inserted to the even frames. = 1: the data is inserted to the even frames. the even frames are fas frames. dl2_odd: = 0: the data is not inserted to the odd frames. = 1: the data is inserted to the odd frames. the odd frames are nfas frames. dl2_ts[4:0]: the data is inserted into the timeslot defined by the binary number in these bits. they are invalid when the dl2_even and the dl2_odd are both logic 0. e1 thdlc data link 2 bit select (txcisel = 1) (02bh, 0abh, 12bh, 1abh, 22bh, 2abh, 32bh, 3abh) bit no. 7 6 5 4 3 2 1 0 bit name dl2_bit[7] dl2_bit[6] dl2_bit[5] dl2_bit[4] dl2_bit[3] dl2_bit[2] dl2_bit[1] dl2_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 1, this register is used for the transmit hdlc #2. dl2_bitn: = 0: the data is not inserted to the corresponding bit. = 1: the data is inserted to the corresponding bit of the assigned timeslot. these bits are invalid when the dl2_even and the dl2_odd are both logic 0. the dl2_bit[7] corresponds to the first bit (msb) of the selected timeslot.
150 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc transmit data link 3 control (txcisel = 1) (02ch, 0ach, 12ch, 1ach, 22ch, 2ach, 32ch, 3ach) bit no. 7 6 5 4 3 2 1 0 bit name dl3_even dl3_odd dl3_ts[4] dl3_ts[3] dl3_ts[2] dl3_ts[1] dl3_ts[0] type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 1, this register is used for the transmit hdlc #3. dl3_even: = 0: the data is not inserted to the even frames. = 1: the data is inserted to the even frames. the even frames are fas frames. dl3_odd: = 0: the data is not inserted to the odd frames. = 1: the data is inserted to the odd frames. the odd frames are nfas frames. dl3_ts[4:0]: the data is inserted into the timeslot defined by the binary number in these bits. they are invalid when the dl3_even and the dl3_odd are both logic 0. e1 thdlc data link 3 bit select (txcisel = 1) (02dh, 0adh, 12dh, 1adh, 22dh, 2adh, 32dh, 3adh) bit no. 7 6 5 4 3 2 1 0 bit name dl3_bit[7] dl3_bit[6] dl3_bit[5] dl3_bit[4] dl3_bit[3] dl3_bit[2] dl3_bit[1] dl3_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, e1-00ah) is 1, this register is used for the transmit hdlc #3. dl3_bitn: = 0: the data is not inserted to the corresponding bit. = 1: the data is inserted to the corresponding bit of the assigned timeslot. these bits are invalid when the dl3_even and the dl3_odd are both logic 0. the dl3_bit[7] corresponds to the first bit (msb) of the selected timeslot.
151 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp frame alignment options (030h, 0b0h, 130h, 1b0h, 230h, 2b0h, 330h, 3b0h) bit no. 7 6 5 4 3 2 1 0 bit name crcen casdis c2nciwck refr refcrce refrdis type r/w r/w r/w reserved r/w r/w r/w default 1 0 0 0 1 0 crcen: = 0: disable searching for the crc multi-frame. = 1: enable searching for the crc multi-frame alignment signal and monitor the errors in the crc multi-frame. casdis: = 0: enable searching for the channel associated signaling (cas) multi-frame alignment signal and monitor the errors in the signaling multi- frame. = 1: disable searching for the channel associated signaling multi-frame. c2nciwck: = 0: stop searching for the crc multi-frame alignment signal in crc to non-crc inter-working mode. = 1: continue searching for the crc multi-frame alignment signal even if crc to non-crc inter-working has been declared. refr: a transition from logic 0 to logic 1 forces to re-search for a new basic frame. refcrce: this bit decides if the frame processor re-searches for the basic frame when there are excessive crc errors. the excessive crc errors is defined as more than 914 crc errors in one second. one crc error is counted when the local calculated crc-4 is not equal to the received crc- 4. = 0: disable re-searching for the basic frame when there are excessive crc errors. = 1: enable re-searching for the basic frame when there are excessive crc errors. refrdis: 0 = enable re-searching for the basic frame when it is out of basic frame sync or there are excessive crc errors. 1 = ?locked in frame? once initial frame alignment has been found. disable re-searching for the basic frame under any error conditions once the initial basic frame sync is acquired. while the frmp remains locked in frame due to refrdis=1, a received ais will not be detected since the frame processor must be out-of- frame to detect ais.
152 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp maintenance mode options (031h, 0b1h, 131h, 1b1h, 231h, 2b1h, 331h, 3b1h) bit no. 7 6 5 4 3 2 1 0 bit name bit2c smfasc ts16c raic aisc excrcerr type reserved r/w r/w r/w r/w reserved r/w r default 1 0 0 0 x x bit2c: = 0: out of basic frame sync is declared on 3 consecutive fas errors. = 1: enable the additional criteria to declare out of basic frame sync. thus, out of basic frame sync is declared when 3 consecutive logic 0 are received in bit 2 of ts0 of nfas or 3 consecutive fas are in errors. smfasc: = 0: enable the declaration of out of signaling multi-frame sync when 2 consecutive signaling multi-frame alignment patterns have been received in error. = 1: enable the declaration of out of signaling multi-frame sync when 2 consecutive signaling multi-frame alignment patterns have been received in error or when all the content in ts16 of frame 0 are logic 0 for one or two consecutive multi-frames which is defined in ts16c (b4, e1-031h). ts16c: valid when the smfasc (b5, e1-031h) is logic 1. = 0: enable the declaration of out of signaling multi-frame sync when all the content in ts16 are logic 0 for one multi-frame. = 1: enable the declaration of out of signaling multi-frame sync when all the content in ts16 are logic 0 for two consecutive multi-frames. raic: = 0: set the raiv (b7, e1-037h) to be logic 1 on the reception of any a bit being logic one, and set the raiv (b7, e1-037h) to be logic 0 on the reception of any a bit being logic zero. = 1: set the raiv (b7, e1-037h) to be logic 1 on the reception of the a bit being logic one for 4 or more consecutive occasions, and set the raiv (b7, e1-037h) to be logic 0 on the reception of any a bit being logic zero. aisc: = 0: set the aisd (b5, e1-037h) to logic 1 when it is out of basic frame sync and less than 3 zeros are detected in a 512-bit stream, and set the aisd (b5, e1-037h) to logic 0 when 3 or more zeros are detected in a 512-bit stream. = 1: set the aisd (b5, e1-037h) to logic 1 when it is out of basic frame sync and less than 3 zeros are detected in each of 2 consecutive 512-bit stream, and set the aisd (b5, e1-037h) to logic 0 when 3 or more zeros are detected in each of 2 consecutive 512-bit stream. excrcerr: the excessive crc errors is defined as more than 914 crc errors in one second. one crc error is counted when the local calculated crc-4 is not equal to the received crc-4. = 0: normal operation. = 1: indicate that there are excessive crc errors in the received data stream. this bit is cleared to 0 after it is read
153 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp framing status interrupt enable (032h, 0b2h, 132h, 1b2h, 232h, 2b2h, 332h, 3b2h) bit no. 7 6 5 4 3 2 1 0 bit name c2nciwe oofe oosmfe oocmfe cofae fere smfere cmfere type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 1 0 c2nciwe: = 0: disable the interrupt on the int pin when the c2nciwi (b7, e1-034h) is logic one. = 1: enable the interrupt on the int pin when the c2nciwi is logic one. oofe: = 0: disable the interrupt on the int pin when the oofi (b6, e1-034h) is logic one. = 1: enable the interrupt on the int pin when the oofi is logic one. oosmfe: = 0: disable the interrupt on the int pin when the oosmfi (b5, e1-034h) is logic one. = 1: enable the interrupt on the int pin when the oosmfi is logic one. oocmfe: = 0: disable the interrupt on the int pin when the oocmfi (b4, e1-034h) is logic one. = 1: enable the interrupt on the int pin when the oocmfi is logic one. cofae: = 0: disable the interrupt on the int pin when the position of the basic frame alignment signal changes. = 1: enable the interrupt on the int pin when the position of the basic frame alignment signal changes. fere: = 0: disable the interrupt on the int pin when there is error in the basic frame alignment pattern. = 1: enable the interrupt on the int pin when there is error in the basic frame alignment pattern. smfere: = 0: disable the interrupt on the int pin when there is an error in the signaling multi-frame alignment pattern. = 1: enable the interrupt on the int pin when there is an error in the signaling multi-frame alignment pattern. cmfere: = 0: disable the interrupt on the int pin when there is error in the crc multi-frame alignment pattern. = 1: enable the interrupt on the int pin when there is error in the crc multi-frame alignment pattern.
154 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp maintenance / alarm status interrupt enable (033h, 0b3h, 133h, 1b3h, 233h, 2b3h, 333h, 3b3h) bit no. 7 6 5 4 3 2 1 0 bit name raie rmaie aisde rede aise febee crcee type r/w r/w r/w reserved r/w r/w r/w r/w default 0 0 0 0 0 0 0 raie: = 0: disable the interrupt on the int pin when the raii (b7, e1-035h) is logic one. = 1: enable the interrupt on the int pin when the raii is logic one. rmaie: = 0: disable the interrupt on the int pin when the rmaii (b6, e1-035h) is logic one. = 1: enable the interrupt on the int pin when the rmaii is logic one. aisde: = 0: disable the interrupt on the int pin when the aisdi (b5, e1-035h) is logic one. = 1: enable the interrupt on the int pin when the aisdi is logic one. rede: = 0: disable the interrupt on the int pin when the redi (b3, e1-035h) is logic one. = 1: enable the interrupt on the int pin when the redi is logic one. aise: = 0: disable the interrupt on the int pin when the aisi (b2, e1-035h) is logic one. = 1: enable the interrupt on the int pin when the aisi is logic one. febee: = 0: disable the interrupt on the int pin when a logic 0 is received in the e1 (the first bit in ts0 in the 13th frame of crc-4 multi-frame) or e2 (the first bit in ts0 in the 15th frame of crc-4 multi-frame) bit. = 1: enable the interrupt on the int pin when a logic 0 is received in the e1 or e2 bit. crcee: = 0: disable the interrupt on the int pin when there is difference between the calculated crc-4 remainder and the received crc-4. = 1: enable the interrupt on the int pin when there is difference between the calculated crc-4 remainder and the received crc-4.
155 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp framing status interrupt indication (034h, 0b4h, 134h, 1b4h, 234h, 2b4h, 334h, 3b4h) bit no. 7 6 5 4 3 2 1 0 bit name c2nciwi oofi oosmfi oocmfi cofai feri smferi cmferi type r r r r r r r r default x x x x x x x x all the bits in this register are clear to 0 after the register is read. c2nciwi: = 0: no status change on the c2nciwv (b7, e1-036h). = 1: there is a transition (from 0 to 1 or from 1 to 0) on the c2nciwv (b7, e1-036h). oofi: = 0: no status change on the oofv (b6, e1-036h) = 1: there is a transition (from 0 to 1 or from 1 to 0) on the oofv (b6, e1-036h). oosmfi: = 0: no status change on the oosmfv (b5, e1-036h) = 1: there is a transition (from 0 to 1 or from 1 to 0) on the oosmfv (b5, e1-036h). oocmfi: = 0: no status change on the oocmfv (b4, e1-036h) = 1: there is a transition (from 0 to 1 or from 1 to 0) on the oocmfv (b4, e1-036h). cofai: = 0: the position of the basic frame alignment signal does not change = 1: the position of the basic frame alignment signal changes. feri: = 0: there is no error in the basic frame alignment pattern. = 1: there is an error in the basic frame alignment pattern. smferi: = 0: there is no error in the signaling multi-frame alignment pattern. = 1: there is an error in the signaling multi-frame alignment pattern. cmferi: = 0: there is no error in the crc multi-frame alignment pattern. = 1: there is an error in the crc multi-frame alignment pattern.
156 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp maintenance / alarm status interrupt indication (035h, 0b5h, 135h, 1b5h, 235h, 2b5h, 335h, 3b5h) bit no. 7 6 5 4 3 2 1 0 bit name raii rmaii aisdi redi aisi febei crcei type r r r reserved r r r r default x x x x x x x all the bits in this register are clear to 0 after the register is read. raii: = 0: no status change on the raiv (b7, e1-037h). = 1: there is a transition (from 0 to 1 or from 1 to 0) on the raiv (b7, e1-037h). rmaii: = 0: no status change on the rmaiv (b6, e1-037h). = 1: there is a transition from 0 to 1 or from 1 to 0 on the rmaiv (b6, e1-037h). aisdi: = 0: no status change on the aisd (b5, e1-037h). = 1: there is a transition from 0 to 1 or from 1 to 0 on the aisd (b5, e1-037h). redi: = 0: no status change on the red (b3, e1-037h). = 1: there is a transition from 0 to 1 or from 1 to 0 on the red (b3, e1-037h). aisi: = 0: no status change on the ais (b2, e1-037h) . = 1: there is a transition from 0 to 1 or from 1 to 0 on the ais (b2, e1-037h). febei: = 0: no logic 0 is received in the e1 or e2 bit. = 1: a logic 0 is received in the e1 or e2 bit. crcei: = 0: no difference between the calculated crc-4 remainder and the received crc-4. = 1: there is difference between the calculated crc-4 remainder and the received crc-4 remainder.
157 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp framing status (036h, 0b6h, 136h, 1b6h, 236h, 2b6h, 336h, 3b6h) bit no. 7 6 5 4 3 2 1 0 bit name c2nciwv oofv oosmfv oocmfv ooofv raiccrcv cfebev v52linkv type r r r r r r r r default x x x x x x x x c2nciwv: = 0: the frame processor does not operate in crc to non-crc inter-working mode. = 1: the frame processor operates in crc to non-crc inter-working mode. oofv: = 0: the basic frame is in sync. = 1: the basic frame is out of sync. oosmfv: = 0: the signaling multi-frame is in sync. = 1: the signaling multi-frame is out of sync. oocmfv: = 0: the crc multi-frame is in sync. = 1: the crc multi-frame is out of sync ooofv: = 0: the offline frame is in sync. = 1: the offline frame is out of sync. raiccrcv: = 0: normal operation. = 1: the remote alarm (logic 1 in a bit) and the febe (logic 0 in bit e1 or e2) have existed for a period of 10ms. cfebev: = 0: normal operation. = 1: febe (logic 0 in bit e1 and e2) has existed for more than or equal to 990 occasions in each second for 5 consecutive seconds. v52linkv: = 0: v5.2 link id signal is not received. = 1: v5.2 link id signal is received, i.e., 2 out of 3 sa7 bits are logic zeros
158 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp maintenance / alarm status (037h, 0b7h, 137h, 1b7h, 237h, 2b7h, 337h, 3b7h) bit no. 7 6 5 4 3 2 1 0 bit name raiv rmaiv aisd red ais type r r r reserved r r reserved default x x x x x raiv: this bit indicates the value of the remote alarm indication (a) bit. = 0: the a bit is logic 0. = 1: rai is detected according to the criterion set in the raic (b3, e1-031h). when the raic is 0, rai is detected when the a bit is received as logic 1. when the raic is 1, rai is detected when the a bit is received as logic 1 for 4 or more consecutive occasions. the raiv is updated every two frames. rmaiv: this bit indicates the value of the remote signaling multi-frame alarm indication (y) bit. = 0: the y bit is logic 0. = 1: logic 1 has been received in y bit for 3 consecutive signaling multi-frames. the rmaiv is updated every 16 frames. aisd: this bit indicates the alarm indication signal (ais) detect value. the detection of ais is disabled in unframed mode. = 0: ais is clear according to the criterion set in the aisc (b1, e1-031h). when the aisc is 0, ais is clear when 3 or more zeros are detected in a 512-bit stream. when the aisc is 1, ais is clear when 3 or more zeros are detected in each of 2 consecutive 512-bit stream. = 1: ais is detected according to the criterion set in the aisc (b1, e1-031h). when the aisc is 0, ais is detected when it is out of basic frame sync and less than 3 zeros are detected in a 512-bit stream. when the aisc is 1, ais is detected when it is out of basic frame sync and less than 3 zeros are detected in each of 2 consecutive 512-bit stream. the aisd bit is updated once every 512 bit periods. red: = 0: out of basic frame sync has been absent for 100ms. = 1: out of basic frame sync has persisted for 100ms. ais: = 0: the condition of ais has been absent for 100ms. = 1: the condition of ais has persisted for 100ms.
159 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp timeslot0 international / national bits (038h, 0b8h, 138h, 1b8h, 238h, 2b8h, 338h, 3b8h) bit no. 7 6 5 4 3 2 1 0 bit name si[1] si[0] a sa[4] sa[5] sa[6] sa[7] sa[8] type r r r r r r r r default x x x x x x x x the content in this register reflects the international bits, remote alarm indication bit and national bits. the si[1:0] bits are the international bits. the a bit is the remote alarm indication bit. the sa[4:8] bits are the national bits. their position is shown in the following table: frame the eight bits in ts0 type 0 1 2 3 4 5 6 7 fas si[1] 0 0 1 1 0 1 1 nfas si[0] 1 a sa[4] sa[5] sa[6] sa[7] sa[8] note that the contents of this register are not updated while the the received data stream is out of basic frame. si[1]: directly reflect the content in the international bit in the latest received fas frame and is updated on the generation of the ifpi interrupt on fas frames. si[0]: directly reflect the content in the international bit in the latest received nfas frame and is updated on the generation of the ifpi interrupt on nfas frames. a: directly reflect the content in the remote alarm indication (a) bit in the latest received nfas frame and is updated on the generation of the ifpi interrupt on nfas frames. sa[4:8]: directly reflect the content in the national bit in the latest received nfas frame and is updated on the generation of the ifpi interrupt on nfas frames. e1 frmp crc error counter-lsb (039h, 0b9h, 139h, 1b9h, 239h, 2b9h, 339h, 3b9h) bit no. 7 6 5 4 3 2 1 0 bit name crcerr[7] crcerr[6] crcerr[5] crcerr[4] crcerr[3] crcerr[2] crcerr[1] crcerr[0] type r r r r r r r r default x x x x x x x x the crcerr[7:0], together with the crcerr[9:8], represent the number of the crc errors and update every second. the crcerr[0] is the lsb.
160 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp crc error counter-msb / timeslot16 extra bits (03ah, 0bah, 13ah, 1bah, 23ah, 2bah, 33ah, 3bah) bit no. 7 6 5 4 3 2 1 0 bit name ovr newdata x[0] y x[1] x[2] crcerr[9] crcerr[8] type r r r r r r r r default 0 0 x x x x x x ovr: the overwritten means that the data is still written into the crcerr[9:0] (b1~0, e1-03ah & b7~0, e1-039h) without the data being read in the latest one second interval. = 0: the crcerr[9:0] (b1~0, e1-03ah & b7~0, e1-039h) are not overwritten. = 1: the crcerr[9:0] (b1~0, e1-03ah & b7~0, e1-039h) are overwritten. this bit is clear to 0 after it is read. newdata: = 0: the value in the crcerr[9:0] (b1~0, e1-03ah & b7~0, e1-039h) has not been updated with new value. = 1: the value in the crcerr[9:0] (b1~0, e1-03ah & b7~0, e1-039h) has been updated with new value. this bit is clear to 0 after it is read. this bit can be polled to determine the 1 second timing boundary used by the frame processor. x[0:2], y: directly reflect the content in the extra bits (x[0:2]) and the remote signaling multi-frame alarm bit (y) in frame0 of ts16 of the latest received signaling multi-frame. they are updated on the generation of the ifpi interrupt on nfas frames. note that these bits are not updated when the received data stream is out of basic frame. the position of the x[2:0] and y bit is shown in the following table: the eight bits in ts16 frame 0 0 1 2 3 4 5 6 7 0 0 0 0 x[0] y x[1] x[2] crcerr[9:8]: the crcerr[9:8], together with the crcerr[7:0], represent the number of the crc errors and update every second. the crcerr[9] is the msb.
161 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp national bit codeword interrupt enables (03bh, 0bbh, 13bh, 1bbh, 23bh, 2bbh, 33bh, 3bbh) bit no. 7 6 5 4 3 2 1 0 bit name sasel[2] sasel[1] sasel[0] sa4e sa5e sa6e sa7e sa8e type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 sasel[2:0]: the sasel[2:0] select the national bit codeword (sax) to appear in the sax[1:4] (b3~0, e1-03dh) of the national bit codeword register. sasel[2:0] national bit codeword 001 010 reserved 011 100 sa4 101 sa5 110 sa6 111 sa7 000 sa8 sa4e, sa5e, sa6e, sa7e, sa8e: = 0 (in any of the 5 bits): disable the interrupt on the int pin when the value is changed in its corresponding sax[1:4] (b3~0, e1-03dh). = 1 (in any of the 5 bits): enable the interrupt on the int pin when the value is changed in its corresponding sax[1:4] (b3~0, e1-03dh) (x is 4 through 8). the interrupt enable should be logic 0 for any bit receiving a hdlc data link. e1 frmp national bit codeword interrupts (03ch, 0bch, 13ch, 1bch, 23ch, 2bch, 33ch, 3bch) bit no. 7 6 5 4 3 2 1 0 bit name sa4i sa5i sa6i sa7i sa8i type reserved r r r r r default x x x x x sa4i, sa5i, sa6i, sa7i, sa8i: = 0 (in any of the 5 bits): the value is not changed in its corresponding sax[1:4] (b3~0, e1-03dh) bits (x is 4 through 8). = 1 (in any of the 5 bits): the value is changed in its corresponding sax[1:4] (b3~0, e1-03dh) bits (x is 4 through 8). this bit is clear to 0 after the register is read.
162 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp national bit codeword (03dh, 0bdh, 13dh, 1bdh, 23dh, 2bdh, 33dh, 3bdh) bit no. 7 6 5 4 3 2 1 0 bit name sax[1] sax[2] sax[3] sax[4] type reserved r r r r default x x x x these bits directly reflect the content in the sax nibble codeword of the crc sub multi-frame. ?x? is determined by the sasel[2:0] (b7~5, e1- 03bh). sax[1] is the first sax bit of the sub multi-frame and analogically. the sax[1:4] are debounced. they are updated only when two consecutive codewords are the same. e1 frmp frame pulse/alarm/v5.2 link id interrupt enables (03eh, 0beh, 13eh, 1beh, 23eh, 2beh, 33eh, 3beh) bit no. 7 6 5 4 3 2 1 0 bit name ooofe raiccrce cfebee v52linke ifpe icsmfpe icmfpe ismfpe type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 ooofe: = 0: disable the interrupt on the int pin when the ooofi (b7, e1-03fh) is logic one. = 1: enable the interrupt on the int pin when the ooofi (b7, e1-03fh) is logic one. raiccrce: = 0: disable the interrupt on the int pin when the remote alarm (logic 1 in a bit) and the febe (logic 0 in bit e1 or e2) being existed for a period of 10ms. = 1: enable the interrupt on the int pin when the remote alarm (logic 1 in a bit) and the febe (logic 0 in bit e1 or e2) being existed for a period of 10ms. cfebee: = 0: disable the interrupt on the int pin when the febe (logic 0 in bit e1 or e2) has existed for more than 990 occasions in each second for 5 consecutive seconds. = 1: enable the interrupt on the int pin when the febe (logic 0 in bit e1 or e2) has existed for more than 990 occasions in each second for 5 consecutive seconds. v52linke: = 0: disable the interrupt on the int pin when the v52linki is logic one. = 1: enable the interrupt on the int pin when the v52linki (b4, e1-03fh) is logic one. ifpe: = 0: disable the interrupt on the int pin when the first bit of each basic frame is received. = 1: enable the interrupt on the int pin when the first bit of each basic frame is received. icsmfpe: = 0: disable the interrupt on the int pin when the first bit of each crc sub-multi-frame is received. = 1: enable the interrupt on the int pin when the first bit of each crc sub-multi-frame is received. icmfpe: = 0: disable the interrupt on the int pin when the first bit of each crc multi-frame is received. = 1: enable the interrupt on the int pin when the first bit of each crc multi-frame is received. ismfpe: = 0: disable the interrupt on the int pin when the first bit of each signaling multi-frame is received. = 1: enable the interrupt on the int pin when the first bit of each signaling multi-frame is received.
163 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmp frame pulse / alarm interrupts (03fh, 0bfh, 13fh, 1bfh, 23fh, 2bfh, 33fh, 3bfh) bit no. 7 6 5 4 3 2 1 0 bit name ooofi raiccrci cfebei v52linki ifpi icsmfpi icmfpi ismfpi type r r r r r r r r default x x x x x x x x the bits of this register are clear to 0 after the register is read. ooofi: = 0: there is no transition (from 0 to 1 or from i to 0) on the ooofv (b3, e1-036h). = 1: there is a transition (from 0 to 1 or from i to 0) on the ooofv (b3, e1-036h). raiccrci: = 0: there is no transition from normal operation to the remote alarm (logic 1 in a bit) or the febe (logic 0 in bit e1 or e2) has being absent for a period of 10ms. = 1: there is a transition from normal operation to the remote alarm (logic 1 in a bit) and the febe (logic 0 in bit e1 or e2) has being existed for a period of 10ms. cfebei: = 0: there is no transition from normal operation to febe (logic 0 in bit e1 or e2) existed for more than 990 occasions in each second for 5 consecutive seconds. = 1: there is a transition from normal operation to febe (logic 0 in bit e1 or e2) existed for more than 990 occasions in each second for 5 consecutive seconds. v52linki: = 0: there is no transition (from 0 to 1 or from 1 to 0) on the v52linkv (b0, e1-036h). = 1: there is a transition (from 0 to 1 or from 1 to 0) on the v52linkv (b0, e1-036h). ifpi: = 0: the received bit is not the first bit of each basic frame. = 1: the first bit of each basic frame is received. icsmfpi: = 0: the received bit is not the first bit of each crc sub-multi-frame. = 1: the first bit of each crc sub-multi-frame is received. icmfpi: = 0: the received bit is not the first bit of each crc multi-frame. = 1: the first bit of each crc multi-frame is received. ismfpi: = 0: the received bit is not the first bit of each signaling multi-frame. = 1: the first bit of each signaling multi-frame is received.
164 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmg configuration (040h, 0c0h, 140h, 1c0h, 240h, 2c0h, 340h, 3c0h) bit no. 7 6 5 4 3 2 1 0 bit name fresh sigen dlen gencrc fdis febedis indis xdis type r/w r/w r/w r/w r/w r/w r/w r/w default 0 1 1 0 0 0 0 0 fresh: = 0: normal operation. = 1: initiate the fifo in the frame generator block. after initialization of the backplane interface, the user should write 1 into this bit and then clear it. sigen, dlen: these two bits select the signaling sources for ts16. they are v alid when the ais (b0, e1-041h) is logic 0: sigen, dlen signaling source 0 0 signaling insertion disabled or ccs enabled. ts16 data is taken directly from the input tsdn ts16 or from the thdlc if the thdlc selects this inserted position. the xdis (b0, e1-040h) must also be set to logic 1 to disable the insertion of the extra bits in ts16 of frame 0. 0 1 reserved 0 1 reserved 1 1 cas enabled. ts16 data is taken from either tssign stream or from the tplc signaling/pcm control byte as selected on a per-timeslot basis via the sigsrc (b4, e1-tplc-indirect registers - 61~7fh). however, the ts16 of frame0 of signaling multi- frame is overwritten by ?0000x[0]yx[1]x[2]?. gencrc: = 0: crc multi-frame generation is disabled. then the international bits are replaced with the va lue contained in the si[1:0] (b7~6, e1-042h) if the indis (b1, e1-040h) is enabled (logic 0), or, if the indis (b1, e1-040h) is not enabled, the international bits are taken directly from tsdn/mtsd. = 1: crc multi-frame generation is enabled. when crc multi-frame is generated, the international bits on the tsdn pin are replaced with crc multi-frame alignment pattern and calculated crc-4 bits. the crc bits calculated during the transmission of the smfn are transmitted in the following smf (smf n+1). if the febedis (b2, e1-040h) is enabled (logic 0), the febe indication is inserted in the e1 and e2 bit positions. the setting to 1 is valid when the fdis (b3, e1-040h) and the indis (b1, e1-040h) are logic 0. fdis: = 0: replace the data on the ts0 of fas on the tsdn/mtsd pin with basic frame alignment sequence (fas). = 1: keep the data on the tsdn/mtsd pin to pass through the frame generation transparently. the values in the control bits gencrc (b4, e1- 040h), febedis (b2, e1-040h) and indis (b1, e1-040h) are ignored. febedis: valid when the fdis (b3, e1-040h) and the indis (b1, e1-040h) are logic 0 and the gencrc (b4, e1-040h) is logic 1. = 0: the international bit of frame 13 & 15 are for febe indication. = 1: febe indication is disabled. indis: = 0: enabled to replace the international bit. = 1: disable to replace the international bit. the value of the international bit is directly taken from the tsdn/mtsd or from the thdlc if the thdlc selects this inserted position. xdis: valid when fdis (b3, e1-040h) is logic 0, and the sigen (b6, e1-040h) and the dlen (b5, e1-040h) are logic 1. = 0: replace the extra bits with the setting in the x[2:0]. = 1: ignore the setting in the x[2:0] bits. the value in the extra bits is taken from the tsdn/mtsd.
165 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmg transmit alarm / diagnostic control (041h, 0c1h, 141h, 1c1h, 241h, 2c1h, 341h, 3c1h) bit no. 7 6 5 4 3 2 1 0 bit name mtrk fpatinv splrinv spatinv remais mfais ts16ais ais type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 mtrk: valid when the fdis (b3, e1-040h) is logic 0 and the pcce (b0, e1-060h) is 1. = 0: ignore the setting in the idle code byte register. = 1: replace the data on the ts1~15 & ts17~31 with the idle code. and when the sigen (b6, e1-040h) is logic 1, replace the data on the ts16 with signaling; when the sigen (b6, e1-040h) is logic 0, replace the data on the ts16 with idle code. fpatinv: valid when the fdis (b3, e1-040h) is logic 0. = 0: disable the inversion of the fas. = 1: enable the inversion of the fas (from ?0011011? to ?1100100?). splrinv: valid when the fdis (b3, e1-040h) is logic 0. = 0: disable the inversion of the 2nd bit of nfas. = 1: enable the inversion of the 2nd bit of nfas (from 1 to 0). spatinv: valid when the fdis (b3, e1-040h) is logic 0 and the sigen (b6, e1-040h) & the dlen (b5, e1-040h) are logic 1. = 0: disable the inversion of the signaling multi-frame alignment signal. = 1: enable the inversion of the signaling multi-frame alignment signal (from ?0000? to ?1111?). remais: valid when the fdis (b3, e1-040h) is logic 0. = 0: normal operation. = 1: force the 3rd bit of nfas to be logic 1. mfais: valid when the fdis (b3, e1-040h) is logic 0. = 0: normal operation. = 1: force to transmit the y bit as logic 1. ts16ais: valid when the fdis (b3, e1-040h) is logic 0 and signaling multi-frame generator is enabled. = 0: normal transmission. = 1: force to transmit all ones in ts16 unconditionally. ais: = 0: normal transmission. = 1: force to transmit all ones on all timeslots unconditionally.
166 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmg international bits control (042h, 0c2h, 142h, 1c2h, 242h, 2c2h, 342h, 3c2h) bit no. 7 6 5 4 3 2 1 0 bit name si[1] si[0] type r/w r/w reserved default 1 1 si[1:0]: valid when the fdis (b3, e1-040h) and the indis (b1, e1-040h) are logic 0. when crc multi-frame generation is disabled (gencrc is logic 0), the si[1] and si[0] bits can be programmed to any value and will be inserted into the first of each fas frame and nfas frame, respectively. when crc multi-frame generation is enabled (gencrc is logic 1), and febe indication is disabled (febedis is logic 1), the values programmed in the si[1] and si[0] bit positions are inserted into the e1 & e2 bit positions respectively. when gencrc is logic 1 and febedis is logic 0, both si[1] and si[0] are ignored. e1 frmg extra bits control (043h, 0c3h, 143h, 1c3h, 243h, 2c3h, 343h, 3c3h) bit no. 7 6 5 4 3 2 1 0 bit name x[0] x[1] x[2] type reserved r/w reserved r/w r/w default 1 1 1 x[2:0]: valid when the fdis (b3, e1-040h), the xdis (b0, e1-040h), the sigen (b6, e1-040h) and the dlen (b5, e1-040h) are all logic 0. replace the extra bits located in bits 5, 7 & 8 in ts16 of frame 0 of the signaling multi-frame.
167 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmg interrupt enable (044h, 0c4h, 144h, 1c4h, 244h, 2c4h, 344h, 3c4h) bit no. 7 6 5 4 3 2 1 0 bit name sigmfe fase mfe smfe type reserved r/w r/w r/w r/w reserved default 0 0 0 0 (must be 0) sigmfe: = 0: disable the interrupt on the int pin when the sigmfi (b4, e1-045h) is logic one. = 1: enable the interrupt on the int pin when the sigmfi (b4, e1-045h) is logic one. fase: = 0: disable the interrupt on the int pin when the fasi (b3, e1-045h) is logic one. = 1: enable the interrupt on the int pin when the fasi (b3, e1-045h) is logic one. mfe: = 0: disable the interrupt on the int pin when the mfi (b2, e1-045h) is logic one. = 1: enable the interrupt on the int pin when the mfi (b2, e1-045h) is logic one. smfe: = 0: disable the interrupt on the int pin when the smfi (b1, e1-045h) is logic one. = 1: enable the interrupt on the int pin when the smfi (b1, e1-045h) is logic one.
168 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmg interrupt status (045h, 0c5h, 145h, 1c5h, 245h, 2c5h, 345h, 3c5h) bit no. 7 6 5 4 3 2 1 0 bit name sigmfi fasi mfi smfi type reserved r r r r reserved default x x x x the bits in this register are clear to 0 after the register is read. sigmfi: valid when the signaling multi-frame is generated and coincides with the crc multi-frame. = 0: not at the end of the first frame of a signaling multi-frame. = 1: indicate the end of the first frame of a signaling multi-frame. fasi: valid when the basic frame is generated. = 0: not on the boundary of a fas frame. = 1: indicate the boundary of a fas frame. mfi: valid when the crc-4 multi-frame is generated. = 0: not at the end of the first frame of a crc-4 multi-frame. = 1: indicate the end of the first frame of a crc-4 multi-frame. smfi: valid when the crc-4 multi-frame is generated. = 0: not at the end of the first frame of a crc-4 sub multi-frame. = 1: indicate the end of the first frame of a crc-4 sub multi-frame.
169 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 frmg national bit codeword select (046h, 0c6h, 146h, 1c6h, 246h, 2c6h, 346h, 3c6h) bit no. 7 6 5 4 3 2 1 0 bit name sasel[2] sasel[1] sasel[0] type r/w r/w r/w reserved default 0 0 0 sasel[2:0]: the sasel[2:0] select which national bit codeword (sax) will be replaced by the sax[1:4] (b3~0, e1-047h). sasel[2:0] national bit codeword 000 001 reserved 010 011 sa4 100 sa5 101 sa6 110 sa7 111 sa8 e1 frmg national bit codeword (047h, 0c7h, 147h, 1c7h, 247h, 2c7h, 347h, 3c7h) bit no. 7 6 5 4 3 2 1 0 bit name sax_en[1] sax_en[2] sax_en[3] sax_en[4] sax[1] sax[2] sax[3] sax[4] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 1 1 1 1 sax_enn: valid when the fdis (b3, e1-040h) is logic 0, and the indis (b1, e1-040h) is logic 0. = 0: disable the corresponding bit in the sax[1:4] to replace the national bit codeword selected by the sasel[2:0]. = 1: enable the corresponding bit in the sax[1:4] to replace the national bit codeword selected by the sasel[2:0]. sax[1:4]: these bits are the codeword to be inserted into a crc-4 sub-multiframe. the setting in the sax[1:4] will replace the national bits which are assigned by the sasel[2:0]. if the code word is written during smf i of a crc-4 multi-frame, it will appear in the sax[1:4] bits of smf ii of the same multi-frame. if the code word is written during smf ii of a multi-frame, its contents will be latched internally and will appear in smf i of the next m ulti-frame.
170 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rhdlc #1, #2, #3 configuration (048h, 0c8h, 148h, 1c8h, 248h, 2c8h, 348h, 3c8h) bit no. 7 6 5 4 3 2 1 0 bit name men mm tr en type reserved r/w r/w r/w r/w default 0 0 0 0 selection of the rhdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, e1-00ah). men, mm: the men & mm define the address matching mode: men mm address matching mode 0 x no address matching is needed. all the hdlc data are stored in the fifo. 1 0 the hdlc data are stored in the fifo when the first byte is all ones or the same as the setting in the pa[7:0] (b7~0, e1-04ch) or the sa[7:0] (b7~0, e1-04dh). 1 1 the hdlc data are stored in the fifo when the most significant 6 bits in the first byte are all ones or the same as the setting in the pa[7:2] (b7~2, e1-04ch)or the sa[7:2] (b7~2, e1-04dh). tr: = 0: normal operation. = 1: force the rhdlc to immediately terminate the reception of the current data frame, empty the fifo buffer, clear the interrupts and initiate a new hdlc search. this bit is clear to 0 after a rising and falling edge occur on the internal clock or after the register is read. en: = 0: disable the operation of the rhdlc block and all the fifo buffer and interrupts are cleared. = 1: enable the operation of the rhdlc block and the hdlc opening flag will be searched immediately. if the en is set from logic 1 to logic 0 and back to logic 1, the rhdlc will immediately terminate the reception of the current data frame, empty the fifo buffer, clear the interrupts and initiate a new hdlc search.
171 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rhdlc #1, #2, #3 interrupt control (049h, 0c9h, 149h, 1c9h, 249h, 2c9h, 349h, 3c9h) bit no. 7 6 5 4 3 2 1 0 bit name inte intc[6] intc[5] intc[4] intc[3] intc[2] intc[1] intc[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 selection of the rhdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, e1-00ah). inte: = 0: disable the interrupt on the int pin when there is a transition from 0 to 1 on the intr (b0, e1-04ah). = 1: enable the interrupt on the int pin when there is a transition from 0 to 1 on the intr (b0, e1-04ah). intc[6:0]: these bits set the interrupt threshold point of the fifo buffer. exceeding the set point will cause an interrupt, and the interrupt will persist until the fifo is empty. the set point is decimal 128 when the intc[6:0] is all zeros. the contents of this register should only be changed when the en (b0, e1-048h) is logic 0. this prevents any erroneous interrupt generation.
172 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rhdlc #1, #2, #3 status (04ah, 0cah, 14ah, 1cah, 24ah, 2cah, 34ah, 3cah) bit no. 7 6 5 4 3 2 1 0 bit name fe ovr cols pkin pbs[2] pbs[1] pbs[0] intr type r r r r r r r r default x x x x x x x x selection of the rhdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, e1-00ah). fe: = 0: the fifo is loaded with data. = 1: the fifo is empty. ovr: the overwritten condition occurs when data are written over unread data in the fifo buffer. this bit is cleared to 0 after the register is read. = 0: no overwriting occurs. = 1: the fifo is overwritten, and then the fifo is reset , which cause the cols and pkin to be reset to logic 0. cols: this bit reflects the hdlc link status change. = 0: normal operation. = 1: the first hdlc opening flag sequence (7e) activated the hdlc or the hdlc abort sequence (7f) deactivated the hdlc is detected. this bit is cleared to 0 after the bit is read, or after the ovr transits to be logic 1, or after the en is clear. pkin: = 0: a hdlc packet has not been written into the fifo. = 1: a hdlc packet has been written into the fifo. this bit is cleared to 0 after the bit is read, or after the ovr transitions to logic 1. pbs[2:0]: the pbs[2:0] indicate the status of the last byte read from the fifo. pbs[2:0] status of the data 000 normal data 001 a dummy byte to indicate the first hdlc opening flag sequence (7e) was detected, which means the hdlc link became active. 010 a dummy byte to indicate the hdlc abort sequence (7f) was detected, which means the hdlc link became inactive. 011 reserved. 100 the last byte of a non-aborted hdlc packet was received. the hdlc packet is in an integer number of bytes and has no fcs error.. 101 the last byte of a non-aborted hdlc packet was received and a non-integer number of bytes are in the packet. 110 the last byte of a non-aborted hdlc packet was received. the hdlc packet is in an integer number of bytes and has fcs errors. 111 the last byte of a non-aborted hdlc packet was received. the hdlc packet is in a non-integer number of bytes and has fcs errors.. intr: = 0: no interrupt sources in the hdlc receiver block occurs = 1: any one of the interrupt sources in the hdlc receiver block occurs. the interrupt sources in the hdlc receiver are: 1. receiving the first 7e opening flag sequence which activates the hdlc link; 2. a packet was received; 3. change of link status; 4. exceeding the set point of the fifo which is defined in the intc[6:0] (b6~0, e1-049h); 5. over-writting the fifo. this bit is cleared to 0 after the bit is read.
173 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rhdlc #1, #2, #3 data (04bh, 0cbh, 14bh, 1cbh, 24bh, 2cbh, 34bh, 3cbh) bit no. 7 6 5 4 3 2 1 0 bit name rd[7] rd[6] rd[5] rd[4] rd[3] rd[2] rd[1] rd[0] type r r r r r r r r default x x x x x x x x selection of the rhdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, e1-00ah). rd[7:0]: this register represents the bytes read from the fifo. this register should not be accessed at a rate greater than 1/15 of the xck rate. the rd[0] corresponds to the first bit of the serial received data from the fifo. e1 rhdlc #1, #2, #3 primary address match (04ch, 0cch, 14ch, 1cch, 24ch, 2cch, 34ch, 3cch) bit no. 7 6 5 4 3 2 1 0 bit name pa[7] pa[6] pa[5] pa[4] pa[3] pa[2] pa[1] pa[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 1 1 1 1 1 1 1 1 selection of the rhdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, e1-00ah). pa[7:0]: these bits s tipulate the primary address pattern. pa[0] stores the first bit of the serial data. e1 rhdlc #1, #2, #3 secondary address match (04dh, 0cdh, 14dh, 1cdh, 24dh, 2cdh, 34dh, 3cdh) bit no. 7 6 5 4 3 2 1 0 bit name sa[7] sa[6] sa[5] sa[4] sa[3] sa[2] sa[1] sa[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 1 1 1 1 1 1 1 1 selection of the rhdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, e1-00ah). sa[7:0]: these bits stipulate the secondary address pattern. sa[0] stores the first bit of the serial data.
174 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc #1, #2, #3 configuration (050h, 0d0h, 150h, 1d0h, 250h, 2d0h, 350h, 3d0h) bit no. 7 6 5 4 3 2 1 0 bit name flgshare fifoclr eom abt crc en type r/w r/w reserved r/w r/w r/w r/w default 1 0 0 0 1 0 selection of the thdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, e1-00ah). flgshare: = 0: the opening flag of the next hdlc frame and closing flag of the current hdlc frame are separate. = 1: the opening flag of the next hdlc frame and closing flag of the current hdlc frame are shared fifoclr: = 0: normal operation. = 1: clear the fifo. eom: = 0: normal operation. = 1: a positive transition of this bit starts a packet transmission. then if the crc(b1, e1-050h) is set, the 16-bit fcs word is appended to the last data byte transmitted. abt: = 0: normal operation. = 1: transmit the 7f abort sequence after the current setting in the transmit data register is transmitted, so that the fifo is cleared and all data in the fifo will be lost. aborts are continuously sent and the fifo is held in reset until this bit is reset to a logic 0. at least one abort sequence will be sent when the abt transitions from logic 0 to logic 1. crc: = 0: do not append the crc-16 frame check sequences (fcs) to the end of the hdlc data. = 1: append the fcs to the end of the hdlc data. en: = 0: disable the operation of the thdlc block. = 1: enable the operation of the thdlc block and flag sequences are sent until data is written into the thdlc transmit data register and the eom is set to logic 1.
175 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc #1, #2, #3 upper transmit threshold (051h, 0d1h, 151h, 1d1h, 251h, 2d1h, 351h, 3d1h) bit no. 7 6 5 4 3 2 1 0 bit name uthr[6] uthr[5] uthr[4] uthr[3] uthr[2] uthr[1] uthr[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 1 0 0 0 0 0 0 selection of the thdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, e1-00ah). uthr[6:0]: these bits define the upper fill level of the fifo. once the fill level exceeds the uthr[6:0] value, the data stored in the fifo will start to transmit. the transmission will not stop until the complete packet is transmitted and the thdlc fifo fill level is below uthr[6:0] + 1. it should be greater than the value of the lint[6:0] unless both are equal to 00h. e1 thdlc #1, #2, #3 lower interrupt threshold (052h, 0d2h, 152h, 1d2h, 252h, 2d2h, 352h, 3d2h) bit no. 7 6 5 4 3 2 1 0 bit name lint[6] lint[5] lint[4] lint[3] lint[2] lint[1] lint[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 1 1 1 selection of the thdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, e1-00ah). lint[6:0]: these bits d efine the fill level of the fifo that can cause an interrupt. that is, when the fill level of the fifo is below the lint[6:0], an interrupt will be generated. the lint[6:0] should be less than the value of the uthr[6:0] unless both are equal to 00h.
176 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc #1, #2, #3 interrupt enable (053h, 0d3h, 153h, 1d3h, 253h, 2d3h, 353h, 3d3h) bit no. 7 6 5 4 3 2 1 0 bit name fulle ovre udre lfille type reserved r/w r/w r/w r/w default 0 0 0 0 selection of the thdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, e1-00ah). fulle: = 0: disable the interrupt on the int pin when the fulli (b3, e1-054h) is logic 1. = 1: enable the interrupt on the int pin when the fulli (b3, e1-054h) is logic 1. ovre: = 0: disable the interrupt on the int pin when the ovri (b2, e1-054h) is logic 1. = 1: enable the interrupt on the int pin when the ovri (b2, e1-054h) is logic 1. udre: = 0: disable the interrupt on the int pin when the udri (b1, e1-054h) is logic 1. = 1: enable the interrupt on the int pin when the udri (b1, e1-054h) is logic 1. lfille: = 0: disable the interrupt on the int pin when the lfilli (b0, e1-054h) is logic 1. = 1: enable the interrupt on the int pin when the lfilli (b0, e1-054h) is logic 1.
177 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc #1, #2, #3 interrupt status / udr clear (054h, 0d4h, 154h, 1d4h, 254h, 2d4h, 354h, 3d4h) bit no. 7 6 5 4 3 2 1 0 bit name full blfill fulli ovri udri lfilli type reserved r r reserved r r r r default x x x x x x selection of the thdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, e1-00ah). full: = 0: the thdlc fifo is not full. = 1: the thdlc fifo is full (128 bytes). blfill: = 0: the fill level in the thdlc fifo is not below the value of the lint[6:0] (b6~0, e1-052h). = 1: the fill level in the thdlc fifo is empty or below the value of the lint[6:0] (b6~0, e1-052h). fulli: = 0: there is no transition (from 0 to 1) on the full. = 1: there is a transition (from 0 to 1) on the full. this bit is cleared to 0 after the bit is read. ovri: the over-written is that the thdlc fifo was already full when another data byte was written to the thdlc transmit data register. = 0: the thdlc fifo is not overwritten. = 1: the thdlc fifo is overwritten. this bit is cleared to 0 after the bit is read. udri: the under-run is that the thdlc was in the process of transmitting a packet when it ran out of data to be transmitted. = 0: the thdlc fifo is not under-run. = 1: the thdlc fifo is under-run. this bit is cleared to 0 after the bit is read. lfilli: = 0: there is no transition (from 0 to 1) on the blfill. = 1: there is a transition (from 0 to 1) on the blfill. this bit is cleared to 0 after the bit is read.
178 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 thdlc #1, #2, #3 transmit data (055h, 0d5h, 155h, 1d5h, 255h, 2d5h, 355h, 3d5h) bit no. 7 6 5 4 3 2 1 0 bit name td[7] td[6] td[5] td[4] td[3] td[2] td[1] td[0] type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x selection of the thdlc block (#1, #2, or #3) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, e1-00ah). the content is the data to be transmitted. it is serially transmitted (td[0] is the first). e1 elsb interrupt enable / status (059h, 0d9h, 159h, 1d9h, 259h, 2d9h, 359h, 3d9h) bit no. 7 6 5 4 3 2 1 0 bit name slipe slipd slipi type reserved r/w r r default 0 x x slipe: = 0: disable the interrupt on the int pin when a slip occurs. = 1: enable the interrupt on the int pin when a slip occurs . slipd: this bit makes sense only when the slipi is logic 1. = 0: the latest slip is due to the elastic store buffer being empty; a frame was duplicated. = 1: the latest slip is due to the elastic store buffer being full; a frame was deleted. slipi: = 0: no slip occurs. = 1: a slip occurs. this bit is cleared to 0 after the bit is read. e1 elsb idle code (05ah, 0dah, 15ah, 1dah, 25ah, 2dah, 35ah, 3dah) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default 1 1 1 1 1 1 1 1 these bits set the idle code that will replace the data on the rsdn/mrsd when it is out of basic frame and the trken (b1, e1-001h) is logic 1. d7 is the first bit to be inserted. the writing of the idle code pattern is asynchronous with respect to the output data clock. one timeslot of idle code data will be corrupted if the register is written to when the framer is out of frame.
179 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rplc configuration (05ch, 0dch, 15ch, 1dch, 25ch, 2dch, 35ch, 3dch) bit no. 7 6 5 4 3 2 1 0 bit name pcce type reserved r/w default 0 pcce: = 0: the per-ts functions in rplc are disabled. = 1: the per-ts functions in rplc are enabled. e1 rplc m p access status (05dh, 0ddh, 15dh, 1ddh, 25dh, 2ddh, 35dh, 3ddh) bit no. 7 6 5 4 3 2 1 0 bit name busy type r reserved default 0 busy: = 0: no reading or writing operation on the indirect registers. = 1: an internal indirect register is being accessed, any new operation on the internal indirect register is not allowed. this bit goes low timed to an internal high-speed clock rising edge after the operation has been completed. the operation cycle is 490ns. no operations to the indirect registers are possible until this bit is logic 0.
180 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rplc channel indirect address / control (05eh, 0deh, 15eh, 1deh, 25eh, 2deh, 35eh, 3deh) bit no. 7 6 5 4 3 2 1 0 bit name r/wb a6 a5 a4 a3 a2 a1 a0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 writing to this register with a valid address and r/wb bit initiates an internal operation cycle to the indirect registers. r/wb: = 0: write the data to the specified indirect register. = 1: read the data from the specified indirect register. a[6:0]: specify the address of the indirect registers (from 20h to 7fh) for the microprocessor access. e1 rplc channel indirect data buffer (05fh, 0dfh, 15fh, 1dfh, 25fh, 2dfh, 35fh, 3dfh) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 this register hold the value which will be read from or write into the indirect registers (from 20h to 7fh). if data is to be written to the indirect registers, the byte to be written must be written into this register before the target indirect register?s address and r/wb=0 is written into the address/ control register, initiating the access. if data is to be read from the indirect registers, only the target indirect register?s address and r/wb=1 is written into the address/control register, initiating the request. after 490 ns, this register will contain the requested data byte. rplc indirect registers map 20h ~3fh per-ts configuration byte for ts0 ~ ts31 40h ~5fh data trunk conditioning code byte for ts0 ~ ts31 61h ~ 7fh signaling trunk conditioning byte for ts1 ~ ts31
181 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rplc per-ts configuration registers (rplc indirect registers 20h ? 3fh) bit no. 7 6 5 4 3 2 1 0 bit name test dtrkc/nxts strkc dmw dmwalaw signinv rinv[1] rinv[0] type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x test: = 0: disable the data in the corresponding timeslot to be tested by prgd. = 1: enable the data in the corresponding timeslot to be extracted to prgd for test (when the rxpatgen [b2, e1-00ch] is logic 0), or enable the test pattern from prgd to replace the data in the corresponding timeslot for test (when the rxpatgen [b2, e1-00ch] is logic 1). all the timeslots that are extracted to the prgd are concatenated and treated as a continuous stream in which pseudo random are searched for. similarly, all timeslots set to be replaced with prgd test pattern data are concatenated replaced by the prbs. dtrkc/nxts: = 0: disable the data in the corresponding timeslot to be replaced by the data set in the dtrk[7:0] (b7~0, e1-rplc-indirect registers-40~5fh) when output on the rsdn/mrsd pin. = 1: enable the data in the corresponding timeslot to be replaced by the data set in the dtrk[7:0] (b7~0, e1-rplc-indirect registers-40~5fh) when output on the rsdn/mrsd pin. in addition, it controls the rsckn of the corresponding timeslot in receive clock slave fractional e1 mode: = 0: rsckn is clocked for the corresponding timeslot. = 1: rsckn is held in its inactive state. strkc: = 0: disable the signaling of the corresponding timeslot to be replaced by the data set in the a, b, c, d (b3~0, e1-rplc-indirect registers- 61~7fh) when output on the rssign/mrssig pin. = 1: enable the signaling of the corresponding timeslot to be replaced by the data set in the a, b, c, d (b3~0, e1-rplc-indirect registers- 61~7fh) when output on the rssign/mrssig pin. dmw: = 0: disallow the data in the corresponding timeslot to be replaced by a digital milliwatt pattern when output on the rsdn/mrsd pin. = 1: enable the data in the corresponding timeslot to be replaced by a digital milliwatt pattern when output on the rsdn/mrsd pin. dmwalaw: = 0: the milliwatt pattern is the m -law pattern. = 1: the milliwatt pattern is the a-law pattern. signinv, rinv[1:0]: the signinv and the rinv[1:0] bits select the bits in the corresponding timeslot to be inverted when output on the rsdn/mrsd pin: signinv rinv[1:0] bits inverted 0 0 0 no inversion 0 0 1 invert the even bits (2, 4, 6, 8) of the timeslot (bit 1 is the msb) 0 1 0 invert the odd bits (1, 3, 5, 7) of the timeslot (bit 1 is the msb) 0 1 1 invert all the bits of the timeslot 1 0 0 invert the bit 1 (msb) of the timeslot 1 0 1 invert the bits 1, 2, 4, 6 and 8 of the timeslot 1 1 0 invert the bits 3, 5 and 7 of the timeslot 1 1 1 invert all the bits of the timeslot except the msb (bit1) the priority of the rplc operation on the rsdn pin from high to low is: extract data to prgd for test; replace the data with the value in the dtrk[7:0]; replace the data with the milliwatt pattern; replace the data with the pattern generated in the prgd; invert the bit.
182 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rplc data trunk conditioning code byte registers (rplc indirect registers 40h ? 5fh) bit no. 7 6 5 4 3 2 1 0 bit name dtrk7 dtrk6 dtrk5 dtrk4 dtrk3 dtrk2 dtrk1 dtrk0 type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x they contain the data that will replace the data output on the rsdn/mrsd pin when the corresponding bit dtrkc/nxts (b6, e1-rplc-indirect registers-20~3fh) is logic 1. the dtrk7 is the msb. e1 rplc signaling trunk conditioning byte registers (rplc indirect registers 61h ? 7fh) bit no. 7 6 5 4 3 2 1 0 bit name a b c d type reserved r/w r/w r/w r/w default x x x x these bits contain the data that will replace the data output on the rssign/mrssig pin when the corresponding strkc (b5, e1-rplc-indirect registers-20~3fh) is logic 1. they are in the least significant nibble.
183 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 tplc configuration (060h, 0e0h, 160h, 1e0h, 260h, 2e0h, 360h, 3e0h) bit no. 7 6 5 4 3 2 1 0 bit name pcce type reserved r/w default 0 pcce: = 0: the per-ts functions in tplc are disabled. = 1: the per-ts functions in tplc are enabled. e1 tplc m p access status (061h, 0e1h, 161h, 1e1h, 261h, 2e1h, 361h, 3e1h) bit no. 7 6 5 4 3 2 1 0 bit name busy type r reserved default 0 busy: = 0: no reading or writing operation on the indirect registers. = 1: an internal indirect register is being accessed, any new operation on the internal indirect register is not allowed. this bit goes low timed to an internal high-speed clock rising edge after the operation has been completed. the operation cycle is 490ns. no more operations to the indirect registers could be done until this bit is cleared.
184 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 tplc channel indirect address / control (062h, 0e2h, 162h, 1e2h, 262h, 2e2h, 362h, 3e2h) bit no. 7 6 5 4 3 2 1 0 bit name r/wb a6 a5 a4 a3 a2 a1 a0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 writing to this register with a valid address and r/wb bit initiates an internal operation cycle to the indirect registers. r/wb: = 0: write the data to the specified indirect register. = 1: read the data from the specified indirect register. a[6:0]: specify the address of the indirect registers (from 20h to 7fh) for the microprocessor access. e1 tplc channel indirect data buffer (063h, 0e3h, 163h, 1e3h, 263h, 2e3h, 363h, 3e3h) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 this register hold the value which will be read from or write into the indirect registers (from 20h to 7fh). if data are to be written to the indirect registers, the byte to be written must be written into this register before the target indirect register?s address and r/wb=0 is written into the address/ control register, initiating the access. if data are to be read from the indirect registers, only the target indirect register?s address and r/wb=1 is written into the address/control register, initiating the request. after 490 ns, this register will contain the requested data byte. tplc indirect registers map 20h ~3fh per-ts control byte for ts0 ~ ts31 40h ~5fh idle code byte for ts0 ~ ts31 61h ~7fh signaling /pcm control byte for ts1 ~ ts31
185 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 tplc per-ts control registers (tplc indirect registers 20h ? 3fh) bit no. 7 6 5 4 3 2 1 0 bit name subs ds1 ds0 test loop type r/w reserved r/w r/w r/w r/w reserved default x x x x x subs, ds1, ds0: the subs, ds[1:0] bits select one of the operation to the corresponding timeslot: subs ds[1] ds[0] operation 0 0 0 no change to the timeslot 0 1 0 invert the odd bits (1, 3, 5, 7) of the timeslot (bit 1 is the lsb) 0 0 1 invert the even bits (2, 4, 6, 8) of the timeslot (bit 8 is the msb) 0 1 1 invert all the bits of the timeslot 1 - 0 replace the timeslot with the idle code 1 0 1 replace the timeslot with the a-law digital milliwatt pattern (per g.711) 1 1 1 replace the timeslot with the m -law digital milliwatt pattern (per g.711) test: = 0: disable the data in the corresponding timeslot to be tested by prgd. = 1: enable the data in the corresponding timeslot to be extracted to prgd for test (when the rxpatgen [b2, e1-00ch] is logic 1), or enable the test pattern from prgd to replace the data in the corresponding timeslot for test (when the rxpatgen [b2, e1-00ch] is logic 0). all the timeslots that are extracted to the prgd are concatenated and treated as a continuous stream in which pseudo random are searched for. similarly, all timeslots set to be replaced with prgd test pattern data are concatenated replaced by the prbs. loop: = 0: disable the payload loopback. = 1: enable the payload loopback. when the receive clock master modes are enabled, the elastic store is used to align the receive line data to the data to be transmitted. when receive clock slave modes are enabled, the elastic store is unavailable to facilitate the payload loopbacks, and loopback functionality is provided only when the transmit path is also in transmit clock slave mode, and the received clock and the clock to be transmitted and common frame pulse are identical (rscck = tscckb, rscfs = tscfs). the priority of the tplc operation on the tsdn pin from high to low is: extract data to prgd for test; payload loopback; replace the data with the milliwatt pattern; replace the data with the pattern generated in the prgd; replace the data with the value in the idle[7:0]; invert the even bits or/and odd bits.
186 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 tplc idle code byte registers (tplc indirect registers 40h ? 5fh) bit no. 7 6 5 4 3 2 1 0 bit name idle7 idle6 idle5 idle4 idle3 idle2 idle1 idle0 type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x they contain the data that will replace the data input from the tsdn pin when the corresponding subs and ds[1:0] are allowed. idle7 is the msb. e1 tplc signaling / pcm control byte registers (tplc indirect registers 61h ? 7fh) bit no. 7 6 5 4 3 2 1 0 bit name sigsrc a b c d type reserved r/w r/w r/w r/w r/w default x x x x x sigsrc: this bit is valid only if the channel associated signaling (cas) is selected in the e1 frmg configuration register. = 0: use the data on the tssign pin as the signaling. = 1: use the data in the a, b, c, d bits as the signaling. a, b, c, d: they contain the data that can be used as signaling when the corresponding sigsrc is logic 1. they are in the least significant nibble.
187 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rcrb configuration (coss = 0) (064h, 0e4h, 164h, 1e4h, 264h, 2e4h, 364h, 3e4h) bit no. 7 6 5 4 3 2 1 0 bit name coss sige pcce type reserved r/w r/w reserved r/w default 0 0 0 coss: = 0: allow the rcrb registers to access the indirect registers. = 1: allow the rcrb registers to reflect the change of the signaling of its corresponding timeslot. sige: = 0: disable generation of an interrupt on the int pin when there is a signaling change in any one of the 30 timeslots. = 1: enable generation of an interrupt on the int pin when there is a signaling change in any one of the 30 timeslots. pcce: = 0: the per-ts functions in rcrb are disabled. = 1: the per-ts functions in rcrb are enabled. e1 rcrb timeslot indirect status (coss = 0) (065h, 0e5h, 165h, 1e5h, 265h, 2e5h, 365h, 3e5h) bit no. 7 6 5 4 3 2 1 0 bit name busy type r reserved default 0 busy: = 0: no reading or writing operation on the indirect registers. = 1: an internal indirect register is being accessed, any new operation on the internal indirect register is not allowed. this bit goes low timed to an internal high-speed clock rising edge after the operation has been completed. the operation cycle is 490ns. no operations to the indirect registers can be done until this bit is cleared.
188 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rcrb timeslot indirect address / control (coss = 0) (066h, 0e6h, 166h, 1e6h, 266h, 2e6h, 366h, 3e6h) bit no. 7 6 5 4 3 2 1 0 bit name r/wb a6 a5 a4 a3 a2 a1 a0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 r/wb: = 0: write the data to the specified indirect register. = 1: read the data from the specified indirect register. a[6:0]: specified the address of the indirect registers (from 20h to 5fh) for the microprocessor access. e1 rcrb timeslot indirect data buffer (coss = 0) (067h, 0e7h, 167h, 1e7h, 267h, 2e7h, 367h, 3e7h) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x this register holds the value which will be read from or written to the indirect registers (from 20h to 7fh). if data are to be written to the indirect registers, the byte to be written must be written into this register before the target indirect register?s address and r/wb=0 is written into the address/ control register, initiating the access. if data are to be read from the indirect registers, only the target indirect register?s address and r/wb=1 is written into the address/control register, initiating the request. after 490 ns, this register will contain the requested data byte.
189 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 rcrb change of signaling state (coss = 1) (064h, 0e4h, 164h, 1e4h, 264h, 2e4h, 364h, 3e4h) bit no. 7 6 5 4 3 2 1 0 bit name coss coss[30] coss[29] coss[28] coss[27] coss[26] coss[25] type reserved r/w r r r r r r default 0 x x x x x x coss: = 0: allow the rcrb registers to access the indirect registers. = 1: allow the rcrb registers to reflect the change of the signaling of its corresponding timeslot. cossn: = 0: the signaling in its corresponding timeslot is not changed. = 1: the signaling in its corresponding timeslot is changed. these bits are cleared to 0 after the register is read. coss[30:25] correspond to timeslots 31 to 26. e1 rcrb change of signaling state (coss = 1) (065h, 0e5h, 165h, 1e5h, 265h, 2e5h, 365h, 3e5h) bit no. 7 6 5 4 3 2 1 0 bit name coss[24] coss[23] coss[22] coss[21] coss[20] coss[19] coss[18] coss[17] type r r r r r r r r default x x x x x x x x cossn: = 0: the signaling in its corresponding timeslot is not changed. = 1: the signaling in its corresponding timeslot is changed. these bits are cleared to 0 after the register is read. coss[24:17] correspond to timeslots 25 to 18. e1 rcrb change of signaling state (coss = 1) (066h, 0e6h, 166h, 1e6h, 266h, 2e6h, 366h, 3e6h) bit no. 7 6 5 4 3 2 1 0 bit name coss[16] coss[15] coss[14] coss[13] coss[12] coss[11] coss[10] coss[9] type r r r r r r r r default x x x x x x x x cossn: = 0: the signaling in its corresponding timeslot is not changed. = 1: the signaling in its corresponding timeslot is changed. these bits are cleared to 0 after the register is read. coss[16] corresponds to timeslots 17. coss[15:9] correspond to timeslot 15 to 9. e1 rcrb change of signaling state (coss = 1) (067h, 0e7h, 167h, 1e7h, 267h, 2e7h, 367h, 3e7h) bit no. 7 6 5 4 3 2 1 0 bit name coss[8] coss[7] coss[6] coss[5] coss[4] coss[3] coss[2] coss[1] type r r r r r r r r default x x x x x x x x cossn: = 0: the signaling in its corresponding timeslot is not changed. = 1: the signaling in its corresponding timeslot is changed. these bits are cleared to 0 after the register is read. coss[8:1] correspond to timeslots 8 to 1.
190 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer rcrb indirect registers map 20h - 01h ~ 0fh / 21h ~ 2fh signaling data register for ts1 ~ 15 10h, 30h - 11h ~ 1fh / 31h ~ 3fh signaling data register for ts17 ~31 40h ~ 5fh ts0 ~ 31 configuration data e1 rcrb timeslot / channel signaling data registers (coss = 0) (rcrb indirect registers 01h - 1fh / 21h ? 3fh) bit no. 7 6 5 4 3 2 1 0 bit name a b c d type reserved r r r r default x x x x a, b, c, d: they contain the signaling of the corresponding timeslot. the value for ts0 and ts16 are not valid. there is a maximum 2 ms delay between the transition of the coss[n] bit (e1-064h & e1-065h & e1-066h & e1-067h) and the updating of the a, b, c, d code in the corresponding indirect registers 21h ~ 3fh. to avoid this 2ms delay, users can read the corresponding b3~0 in the indirect registers 01h ~ 1fh first. if the value of these four bits are different from the previous a, b, c, d code, then the content of b3~0 in the 01h ~ 1fh is the updated a, b, c, d code. if the conternt of the four bits is the same as the previous a, b, c, d code, then users should read the b3~0 in the 21h ~ 3fh to get the updated a, b, c, d code. e1 rcrb per-timeslot configuration registers (coss = 0) (rcrb indirect registers 40h ? 5fh) bit no. 7 6 5 4 3 2 1 0 bit name deb type reserved r/w default x deb: = 0: disable signaling debounce. = 1: enable signaling debounce (valid only if the pcce is logic 1). that is, the signaling is acknowledged only when 2 consecutive signaling of a timeslot are the same.
191 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 pmon interrupt enable / status (068h, 0e8h, 168h, 1e8h, 268h, 2e8h, 368h, 3e8h) bit no. 7 6 5 4 3 2 1 0 bit name inte xfer ovr type reserved r/w r r default 0 0 0 inte: = 0: disable the interrupt on the int pin when the counter data has been transferred into the error count registers. = 1: enable the interrupt on the int pin when the counter data has been transferred into the error count registers. xfer: = 0: indicate that the counter data has not been transferred to the error count registers. = 1: indicate that the counter data has been transferred to the error count registers. this bit is clear to 0 after the bit is read. ovr: = 0: indicate that no overwritten on the error count registers has occurred. = 1: indicate that one of the error count registers is overwritten. this bit is clear to 0 after the bit is read. registers 069h-06dh, 0e9h-0edh, 16h-16dh, 1e9h-1edh, 269h-26dh,2e9h-2edh ,369h-36dh, 3e9h-3edh: the pmon error count registers for a single framer are updated as a group by writing to any of the pmon count registers or updated every 1 second when the autoupdate (b0, e1-000h) is set. the pmon error count registers for eight framers are updated by writing to the chip id/ global pmon update register (e1-009h). when the chip is reset, the contents of the pmon error count registers are unknown until the first latching of performance data is performed. e1 pmon framing bit error count (069h, 0e9h, 169h, 1e9h, 269h, 2e9h, 369h, 3e9h) bit no. 7 6 5 4 3 2 1 0 bit name fer[6] fer[5] fer[4] fer[3] fer[2] fer[1] fer[0] type reserved r r r r r r r default x x x x x x x these bits are valid when it is in the basic frame sync. they represent the number of the basic frame alignment signal errors and update on the defined intervals. the basic frame alignment signal errors are defined in the worderr (b5, e1-000h) and the cntnfas (b4, e1-000h).
192 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 pmon far end block error count lsb (06ah, 0eah, 16ah, 1eah, 26ah, 2eah, 36ah, 3eah) bit no. 7 6 5 4 3 2 1 0 bit name febe[7] febe[6] febe[5] febe[4] febe[3] febe[2] febe[1] febe[0] type r r r r r r r r default x x x x x x x x e1 pmon far end block error count msb (06bh, 0ebh, 16bh, 1ebh, 26bh, 2ebh, 36bh, 3ebh) bit no. 7 6 5 4 3 2 1 0 bit name febe[9] febe[8] type reserved r r default x x the febe[9:0] are valid when it is in the crc multi-frame sync. they represent the number of the far end block errors (febe) and update on the defined intervals. e1 pmon crc error count lsb (06ch, 0ech, 16ch, 1ech, 26ch, 2ech, 36ch, 3ech) bit no. 7 6 5 4 3 2 1 0 bit name crce[7] crce[6] crce[5] crce[4] crce[3] crce[2] crce[1] crce[0] type r r r r r r r r default x x x x x x x x e1 pmon crc error count msb (06dh, 0edh, 16dh, 1edh, 26dh, 2edh, 36dh, 3edh) bit no. 7 6 5 4 3 2 1 0 bit name crce[9] crce[8] type reserved r r default x x the crce[9:0] are valid when it is in the crc multi-frame sync. they represent the number of the crc errors and update on the defined intervals.
193 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 prgd control (070h) bit no. 7 6 5 4 3 2 1 0 bit name pdr[1] pdr[0] ps tinv rinv autosync mansync type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 1 0 pdr[1:0]: the pdr[1:0] define the function of the four prgd pattern detector registers: pdr[1:0] prgd pattern detector registers (#1 ~ #4) 00, 01 pattern receive 10 error count 11 bit count (the #1 is the lsb, while the #4 is the msb.) ps: = 0: a pseudo-random pattern is generated/detected by the prgd. = 1: a repetitive pattern is generated/detected by the prgd. this bit should be set first of all the prgd registers. tinv: = 0: disable the inversion of the generated pattern before being transmitted. = 1: enable the inversion of the generated pattern before being transmitted. rinv: = 0: disable the inversion of the received pattern before being processed. = 1: enable the inversion of the received pattern before being processed. autosync: = 0: disable automatically re-searching for the sync of the pattern when the prgd pattern is out of synchronization. = 1: enable automatically re-searching for the sync of the pattern when the prgd pattern is out of synchronization. mansync: trigger on the rising edge. a transition from logic 0 to logic 1 on this bit manually initiates a re-search for the sync of a pattern. every time when the setting of the prgd registers is changed or the detector data source changes, a manual sync operation is recommended to ensure that the detector works correctly.
194 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 prgd interrupt enable / status (071h) bit no. 7 6 5 4 3 2 1 0 bit name synce bee xfere syncv synci bei xferi ovr type r/w r/w r/w r r r r r default 0 0 0 x x x x x synce: = 0: disable the interrupt on the int pin when the synci is logic one. = 1: enable the interrupt on the int pin when the synci is logic one. bee: = 0: disable the interrupt on the int pin when bit error has been detected in the received pattern. = 1: enable the interrupt on the int pin when each bit error is detected in the received pattern. xfere: = 0: disable the interrupt on the int pin when the the data in the prgd pattern detector register is updated. = 1: enable the interrupt on the int pin when the the data in the prgd pattern detector register is updated. syncv: = 0: the pattern is out of sync (the pattern detector has detected 10 or more bit errors in a hopping 48-bit window). = 1: the pattern is in sync (the pattern detector has observed at least 48 consecutive error-free bit-periods). synci: = 0: there is no transition on the syncv. = 1: there is a transition (from 0 to 1 or from 1 to 0) on the syncv. this bit is cleared to 0 after the bit is read. bei: = 0: no bit error is detected in the received pattern. = 1: at least one bit error has been detected in the received pattern. this bit is cleared to 0 after the bit is read. xferi: = 0: the data in the prgd pattern detector register is not updated. = 1: the data in the prgd pattern detector register is updated. this bit is cleared to 0 after the bit is read. ovr: = 0: the prgd pattern detector register is not overwritten. = 1: the prgd pattern detector register is overwritten. this bit is cleared to 0 after the bit is read.
195 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 prgd shift register length (072h) bit no. 7 6 5 4 3 2 1 0 bit name pl[4] pl[3] pl[2] pl[1] pl[0] type reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 these bits determine the length of the valid data in the prgd pattern insertion register. the length is equal to the value of pl[4:0] + 1. e1 prgd tap bit type function default (073h) bit no. 7 6 5 4 3 2 1 0 bit name pt[4] pt[3] pt[2] pt[1] pt[0] type reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 these bits determine the feedback tap position of the generated pseudo random pattern before it is transmitted. the feedback tap position is equal to the value of pt[4:0] + 1. in application, the pt is always less than the pl. e1 prgd error insertion (074h) bit no. 7 6 5 4 3 2 1 0 bit name event eir[2] eir[1] eir[0] type reserved r/w r/w r/w r/w default 0 0 0 0 event: a single bit error is generated when the state of this bit is changed from 0 to 1. to insert another bit error, this bit must be cleared to 0, and then set from 0 to 1 again. eir[2:0]: the eir[2:0] bits determine the bit error rate that will be inserted in the prgd test pattern. if the bit error rate is changed from one non- zero value to another non-zero value, it is recommended to set the eir[2:0] to ?000? first, then set the eir[2:0] to the desired value. eir[2:0] bit error rate 0 0 0 no error inserted 0 0 1 no error inserted 0 1 0 10 -2 0 1 1 10 -3 1 0 0 10 -4 1 0 1 10 -5 1 1 0 10 -6 1 1 1 10 -7
196 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 prgd pattern insertion #1 (078h) bit no. 7 6 5 4 3 2 1 0 bit name pi[7] pi[6] pi[5] pi[4] pi[3] pi[2] pi[1] pi[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 e1 prgd pattern insertion #2 (079h) bit no. 7 6 5 4 3 2 1 0 bit name pi[15] pi[14] pi[13] pi[12] pi[11] pi[10] pi[9] pi[8] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 e1 prgd pattern insertion #3 (07ah) bit no. 7 6 5 4 3 2 1 0 bit name pi[23] pi[22] pi[21] pi[20] pi[19] pi[18] pi[17] pi[16] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 e1 prgd pattern insertion #4 (07bh) bit no. 7 6 5 4 3 2 1 0 bit name pi[31] pi[30] pi[29] pi[28] pi[27] pi[26] pi[25] pi[24] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when a repetitive pattern is selected to transmit, the data in these registers are the repetitive pattern. when a pseudo random pattern is selected to transmit, the data in these registers should be set to ffffffffh. they are the initial value for the pseudo random pattern. writing to pi[31:24] updates the prgd configuration. when a repetitive pattern is transmitted, the pi[31] bit is transmitted first, followed by the remaining bits in sequence down to pi[0]. the length of the valid data in these four registers is determined by the pl[4:0]. when the length is less than 31, the bits in higher pi are not used.
197 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer e1 prgd pattern detector #1 (07ch) bit no. 7 6 5 4 3 2 1 0 bit name pd[7] pd[6] pd[5] pd[4] pd[3] pd[2] pd[1] pd[0] type r r r r r r r r default x x x x x x x x e1 prgd pattern detector #2 (07dh) bit no. 7 6 5 4 3 2 1 0 bit name pd[15] pd[14] pd[13] pd[12] pd[11] pd[10] pd[9] pd[8] type r r r r r r r r default x x x x x x x x e1 prgd pattern detector #3 (07eh) bit no. 7 6 5 4 3 2 1 0 bit name pd[23] pd[22] pd[21] pd[20] pd[19] pd[18] pd[17] pd[16] type r r r r r r r r default x x x x x x x x e1 prgd pattern detector #4 (07fh) bit no. 7 6 5 4 3 2 1 0 bit name pd[31] pd[30] pd[29] pd[28] pd[27] pd[26] pd[25] pd[24] type r r r r r r r r default x x x x x x x x when the pdr[1:0] (b7~6, e1-070h) are set to 00 or 01, the four prgd pattern detector registers are configured as pattern receive registers. they reflect the content of the received pattern. when the pdr[1:0] (b7~6, e1-070h) are set to 10, the four prgd pattern detector registers are configured as error counter registers. the value in these registers represents the number of the bit errors. the bit errors are not accumulated when the pattern is out of sync. when the pdr[1:0] (b7~6, e1-070h) are set to 11, the four prgd pattern detector registers are configured as bit counter registers. the value in these registers represent the total received bit number. these registers can be configured to update every second automatically when the autoupdate (b0, e1-000h) is set to 1, or by writing to any of these four registers, or to the revision / chip id / global pmon register.
198 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 5.2.2 t1 / j1 mode t1 / j1 receive line options (000h, 080h, 100h, 180h, 200h, 280h, 300h, 380h) bit no. 7 6 5 4 3 2 1 0 bit name f ifobyp unf ibcd_idle autoyellow autored autooof autoupdate type r/w r/w r/w reserved r/w r/w r/w r/w default 0 0 0 0 0 0 0 fifobyp: this bit decides whether the received data should pass through or bypass the receive jitter attenuation fifo. = 0: the received data pass through the rjat fifo. = 1: the rjat fifo is bypassed. the delay is reduced by typically 24 bits . unf: = 0: the frame processor operates normally. = 1: frame searching is disabled, the rcrb holds its signaling frozen, and auto_oof function, if enabled, will consider oof to be declared. ibcd_idle: this bit is valid in framed mode. = 0: compare the inband loopback activate/deactivate code with all received data stream, including the f-bit. however, the result of f-bit comparison is discarded. = 1: compare the inband loopback activate/deactivate code with the received data stream, excluding the f-bit. autoyellow: this bit decides whether to send the yellow alarm signal automatically. = 0: the automatic yellow alarm transmission is disabled. it means that the yellow alarm can only be transmitted when the xyel (b1, t1/j1- 045h) is set to 1. = 1: the automatic yellow alarm transmission is enabled. it means that the yellow alarm will be transmitted automatically when red alarm is declared in the received data stream. autored: this bit decides whether to start trunk conditioning (replacing data on rsdn/mrsd with the data stored in the data trunk conditioning registers in rplc) automatically when red alarm is declared. = 0: the trunk conditioning is not activated automatically when red alarm is declared in the alarm detector block. = 1: the trunk conditioning will be initiated automatically when red alarm is declared in the alarm detector block. autooof: this bit decides whether to start trunk conditioning (replacing data on rsdn/mrsd with the data stored in the data trunk conditioning registers in rplc) automatically in the duration of loss of sf/esf frame. = 0: the trunk conditioning is not activated automatically when the infr (b0, t1/j1-022h) is declared in the frame processor block. = 1: the trunk conditioning will be activated automatically when the infr (b0, t1/j1-022h) is declared in the frame processor block. autoupdate: this bit decides whether the pmon and prgd registers are automatically updated once every second. = 0: the pmon and prgd registers are not automatically updated. they can only be updated by mcu operation. = 1: the pmon and prgd registers will be automatically updated once every second.
199 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 receive side system interface options (001h, 081h, 101h, 181h, 201h, 281h, 301h, 381h) bit no. 7 6 5 4 3 2 1 0 bit name imode[1] imode[0] rscksel rscck2m rscck8m rsfsp altifp imtkc type r/w r/w r/w r/w r/w r/w r/w r/w default 1 1 0 0 0 0 0 0 imode[1:0]: these bits select the operation mode in the receive path. imode[1:0] operation mode in receive path 0 0 receive clock master fractional t1/j1 mode 0 1 receive clock master full t1/j1 mode 1 0 receive clock slave rsck reference mode 1 1 receive clock slave external signaling mode ?receive clock master full t1/j1? mode means that the received entire frame (193 bits) is clocked out from rsdn pin, and there are no gaps in the rsckn clock pulse. ?receive clock master fractional t1/j1? mode means that the rsckn only clocks out on the selected channels, and rsckn does not pulse during those un-selected channels. the selection of the channel is decided by the extract (b2, t1/j1-rplc-indirect register-01-18 h). when receive clock slave rsck reference mode is selected, the rsckn/rssign pin will be used as rsckn to output a 1.544 mhz jitter attenuated version of lrckn or an 8khz clock. when receive clock slave external signaling mode is selected, the rsckn/rssign pin is used as rssign to output the extracted signaling data. each channel?s signaling data is channel aligned with the rsdn data stream and located in lower nibble (b5b6b7b8) of the timeslot. rscksel: when receive clock slave rsck reference mode is selected, this bit selects the frequency of the rsckn. = 0: the rsckn outputs an 8 khz timing reference that is generated by dividing the jitter attenuated version of lrckn. = 1: the rsckn outputs a jitter attenuated version of the 1.544mhz receive line clock (lrck). rscck2m, rscck8m: these bits determine the bit rate of the received data stream on the backplane. the 2.048 mbit/s rate can only be supported when the backplane is configured in receive clock slave mode. if the receive multiplexed mode is desired, all the rscck2m & rscck8m in eight framers must be set the same to select the 8.192 mbit/s backplane bit rate. when the rscck2m, rscck8m selects the 8.192 mbit/s, the imode[1:0] (b7~6, t1/j1- 001h) must be set to 11. rscck2m, rscck8m backplane rate 0 0 1.544m bit/s 1 0 2.048m bit/s 0 1 8.192m bit/s 1 1 reserved rsfsp, altifp: rsfsp altifp rsfsn indication 0 0 the rsfsn pin asserts on each f-bit. 0 1 the rsfsn pin asserts on every second f-bit (i.e., the f-bit of even frame if there is no channel offset). 1 0 the signal on the rsfsn pin asserts on the first f-bit of every 12 frames (in sf format) or every 24 frames (in esf format). 1 1 - in receive multiplexed mode, regardless of the setting in the rsfsp and the altrsfs, the mrsfs can only indicate each f-bit of sf/esf of the selected first framer .
200 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer imtkc: this bit decides how to substitute the received data stream on rsdn and rssign with contents in rplc data trunk conditioning registers and rplc signaling trunk conditioning registers. this bit affects the corresponding timeslot of the mrsd and mrssig even if the multiplexed backplane is enabled. = 0: the data and signaling signals are substituted on a per-timeslot basis in accordance with the control bits contained in the per-timeslot payload control byte registers in the rplc. = 1: the data on rsdn of all timeslots are replaced with the data contained in the data trunk conditioning registers in rplc, and the data on rssign of all timeslots are replaced with the data contained in the signaling trunk conditioning registers. to enable this function, the pcce (b0, t1/ j1-050h) of the rplc must be set to logic 1. t1 / j1 backplane parity configuration / status (002h, 082h, 102h, 182h, 202h, 282h, 302h, 382h) bit no. 7 6 5 4 3 2 1 0 bit name tptyp tprtye tsdi tssigi pty_extd rptyp rprtye type r/w r/w r r r/w reserved r/w r/w default 0 0 x x 0 0 0 tptyp: = 0: even parity check is employed in the f-bit input from the tsdn/mtsd and tssign/mtssig pin, which means a logic one is expected in the f-bit position when the number of ones in the previous sf/esf is odd. = 1: odd parity check is employed in the f-bit input from the tsdn/mtsd and tssign/mtssig pin, which means a logic one is expected in the f- bit position when the number of ones in the previous sf/esf is even. tprtye: this bit is invalid in receive clock master fractional t1/j1 mode. = 0: disable the interrupt on the int pin when a parity error is detected on the tsdn/mtsd pin or a parity error is detected on the tssign/ mtssig pin. = 1: enable the interrupt on the int pin when a parity error is detected on the tsdn/mtsd pin or a parity error is detected on the tssign/mtssig pin. tsdi: = 0: indicate that no parity error is detected on the tsdn/mtsd pin. = 1: indicate that a parity error is detected on the tsdn/mtsd pin. this bit is cleared to 0 after the bit is read. tssigi: = 0: indicate that no parity error is detected on the tssign/mtssig pin. = 1: indicate that a parity error is detected on the tssign/mtssig pin. this bit is cleared to 0 after the bit is read. pty_extd: = 0: the parity is calculated over the previous sf/esf, excluding the f-bit on the tsdn/mtsd, tssign/mtssig, rsdn/mrsd and rssign/ mrssig pin. = 1: the parity is calculated over the previous sf/esf, including the f-bit on the tsdn/mtsd, tssign/mtssig, rsdn/mrsd and rssign/ mrssig pin. rptyp: this bit is invalid in receive clock master fractional t1/j1 mode and valid when the rprtye = 1. = 0: even parity check is employed in the f-bit output on the rsdn/mrsd and rssign/mrssig pin, which means a logic one should be replaced in the f-bit when the number of ones in the previous sf/esf is odd. = 1: odd parity check is employed in the f-bit output on the rsdn/mrsd and rssign/mrssig pin, which means a logic one should be replaced in the f-bit when the number of ones in the previous sf/esf is even. rprtye: this bit is invalid in receive clock master fractional t1/j1 mode. = 0: disable the parity on the rsdn/mrsd and rssign/mrssig pin. = 1: enable the parity on the rsdn/mrsd and rssign/mrssig pin.
201 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 receive interface configuration (003h, 083h, 103h, 183h, 203h, 283h, 303h, 383h) bit no. 7 6 5 4 3 2 1 0 bit name mrbs mrbc tri[1] tri[0] rsckrise lrckfall rscfsfall rscckrise type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 mrbs: in receive multiplexed mode, this bit decides which bus the corresponding framer will use to output the received data. = 0: the first multiplexed bus (mrsd[1], mrsfs[1], mrssig[1]) is selected. = 1: the second multiplexed bus (mrsd[2], mrsfs[2], mrssig[2]) is selected. m rbc: this bit turns on or turn off the transmission of received data from the corresponding framer to the selected multiplexed receive bus. users should complete the setting in the mrbs (b7, t1/j1-003h) before turn on this bit. = 0: the corresponding framer will not output its data stream on the multiplexed bus. = 1: the corresponding framer will output its data stream on the multiplexed bus. tri[1:0]: these bits decide the output status of the rsdn/mrsd and rssign/mrssig pins. tri[1:0] output status on the rsdn/mrsd and rssign/mrssig pin 0 0 in high impedance 1 0 reserved 0 1 normal operation 1 1 reserved rsckrise: this bit selects the active edge of rsckn to update the data on the corresponding rsdn and rsfsn. this bit is valid in receive clock master mode. = 0: the falling edge is selected. = 1: the rising edge is selected. lrckfall: this bit selects the active edge of lrckn to sample the data on the corresponding lrdn. = 0: the rising edge is selected. = 1: the falling edge is selected. rscfsfall: this bit selects the active edge of rscck/mrscck to sample the data on the corresponding rscfs/mrscfs. this bit is valid in receive clock slave mode and receive multiplexed mode. = 0: the rising edge is selected. = 1: the falling edge is selected this bit in all eight framers must be set to the same value. rscckrise: this bit selects the active edge of rscck/mrscck to update the data on the corresponding rsdn/mrsd, rssign/mrssig and rsfsn/ mrsfs. this bit is valid in receive clock slave mode and receive multiplexed mode. = 0: the falling edge is selected. = 1: the rising edge is selected. in receive multiplexed mode, the rscckrise of the eight framers must be set to the same value.
202 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 transmit interface configuration (004h, 084h, 104h, 184h, 204h, 284h, 304h, 384h) bit no. 7 6 5 4 3 2 1 0 bit name fifobyp taisen tscckbfall tsfsrise tsdfall ltckrise type r/w r/w reserved r/w r/w r/w r/w default 0 0 0 0 0 0 fifobyp: this bit decides whether the transmit data should pass through or bypass the transmit jitter attenuation fifo. the bit is valid in clock slave mode. = 0: the data to be transmitted pass through the tjat fifo. = 1: the tjat fifo is bypassed. the delay is reduced by typically 24 bits. taisen: this bit enables the line interface to generate an un-framed all-ones alarm indication signal on the tldn pin or the corresponding framer on the mtld. = 0: normal operation. = 1: tldn or the corresponding framer on the mtld transmits all ones. tscckbfall: this bit selects the active edge of tscckb/mtscckb to sample the data on the corresponding tsdn/mtsd, tssign/mtssig and tscfs/ mtscfs. this bit is valid in transmit clock slave mode and transmit multiplexed mode. = 0: the rising edge is selected. = 1: the falling edge is selected. the tscckbfall of the eight framers should be set to the same value. tsfsrise: this bit is valid in transmit clock slave tsfs enabled mode and transmit clock master mode. = 0: in transmit clock slave tsfs enabled mode, the signal on the tsfsn pin is updated on the falling edge of the tscckb. in transmit clock master mode, the signal on the tsfsn pin is updated on the falling edge of the ltckn. = 1: in transmit clock slave tsfs enabled mode, the signal on the tsfsn pin is updated on the rising edge of the tscckb. in transmit clock master mode, the signal on the tsfsn pin is updated on the rising edge of the ltckn. tsdfall: this bit selects the active edge of ltckn to sample the data on the corresponding tsdn in transmit clock master mode. = 0: the tsdn is sampled on the rising edge of the ltckn. = 1: the tsdn is sampled on the falling edge of the ltckn. ltckrise: this bit selects the active edge of ltckn to update the data on the corresponding ltdn. = 0: the falling edge is selected. = 1: the rising edge is selected.
203 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 transmit side system interface options (005h, 085h, 105h, 185h, 205h, 285h, 305h, 385h) bit no. 7 6 5 4 3 2 1 0 bit name emode[1] emode[0] fpinv abxxen rate[1] rate[0] tscfsp type r/w r/w r/w r/w r/w r/w r/w reserved default 1 1 0 0 0 0 0 emode[1:0]: emode[1:0] operation mode in transmitter path 0 0 reserved 0 1 transmit clock master mode 1 0 transmit clock slave tsfs enable mode 1 1 transmit clock slave external signaling mode in transmit multiplexed mode, these bits must be set to 11. fpinv: = 0: the positive pulse on the tscfs/mtscfs pin is valid. = 1: the negative pulse on the tscfs/mtscfs pin is valid. this bit of the eight framers should be set to the same value. abxxen: this bit is valid only in t1 esf mode. = 0: the valid signaling on the tssign/mtssig pin is in the lower four nibble of each channel (i.e. xxxxabcd). = 1: the valid signaling on the tssign/mtssig pin is in the upper two-bit positions of the lower nibble of each channel (i.e. xxxxabxx). thus, the ?a? bit will be inserted to the signaling bit of frame 6 and 18, and the ?b? bit will be inserted to the signaling bit of frame 12 and 24. rate[1:0]: these bits determine the bit rate of the transmit data stream on the backplane. note that if any of the eight framers selects the 8.192 mbit/s backplane bit rate, the multiplxed bus will be enabled for the chip. when the rate[1:0] selects the 2.048 mbit/s or 8.192 mbit/s, the emode[1] (b7, t1/j1-005h) must be set to 1 (i.e., in transmit clock slave mode). rate[1:0] backplane rate 0 0 1.544m bit/s 0 1 2.048m bit/s 1 0 reserved 1 1 8.192m bit/s tscfsp: = 0: indicate that the signal on the tscfs pin asserts on each f-bit. = 1: indicate that the signal on the tscfs pin asserts on the first f-bit of every 12 sfs or every 24 esfs. this bit of the eight framers should be set to the same value.
204 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 transmit framing and bypass options (006h, 086h, 106h, 186h, 206h, 286h, 306h, 386h) bit no. 7 6 5 4 3 2 1 0 bit name fresh sigaen fdis fbitbyp crcbyp fdlbyp type r/w reserved r/w reserved r/w r/w r/w r/w default 0 0 0 0 0 0 fresh: = 0: normal operation. = 1: initiate the fifo in the frame generator block. after initialization of the backplane interface, the user should write 1 into this bit and then clear it. sigaen: = 0: track the signaling input from the tssign/mtssig pin for the signaling bit. = 1: take a snapshot of the 1st frame input from the tssign/mtssig pin and lock it for the signaling bit of the whole sf/esf. fdis: this bit is v alid when the uf (b6, t1/j1-046h) is logic 0. = 0: the frame generator is enabled to generate and insert the framing bits into the transmit data. = 1: the frame generator is bypassed. data on tsdn/mtsd pin is transmitted transparently. fbitbyp: this bit is valid when the uf (b6, t1/j1-046h) and the fdis (b3, t1/j1-006h) are logic 0. = 0: the frame synchronization bits in the output data stream are generated by the frame generator. = 1: the frame synchronization bits in the input data stream on the tsdn/mtsd pin will be output transparently. crcbyp: this bit is v alid when the uf (b6, t1/j1-046h) and the fdis (b3, t1/j1-006h) are logic 0. = 0: the framing bit corresponding to the crc-6 bit position in the output data stream are generated by the frame generator. = 1: the framing bit corresponding to the crc-6 bit position in the input data stream on the tsdn/mtsd pin will be output transparently. fdlbyp: this bit is valid when the uf (b6, t1/j1-046h) and the fdis (b3, t1/j1-006h) are logic 0. = 0: the framing bit corresponding to the data link bit position in the output data stream are generated by the frame generator. = 1: the framing bit corresponding to the data link bit position in the input data stream on the tsdn/mtsd pin will be output transparently.
205 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 transmit timing options (007h, 087h, 107h, 187h, 207h, 287h, 307h, 387h) bit no. 7 6 5 4 3 2 1 0 bit name tjatref_sel[2] tjatref_sel[1] tjatref_sel[0] ltck_sel[2] ltck_sel[1] ltck_sel[0] type reserved r/w r/w r/w r/w r/w r/w default 1 0 0 1 0 1 tjatref_sel[2:0]: the tjatref_sel[2:0] select the input reference clock for the tjat dpll. tjatref_sel[2:0] input reference clock 000 tsccka / 8 001 tscckb 010 lrck 011 tsccka 100 xck / 24 the others tscckb ltck_sel[2:0]: ltck_sel[2:0] line transmit clock 000 tsccka / 8 001 tscckb 010 lrck 011 tsccka 100 xck / 24 the others a smoothed clock output from the tjat dpll
206 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 interrupt source #1 (008h, 088h, 108h, 188h, 208h, 288h, 308h, 388h) bit no. 7 6 5 4 3 2 1 0 bit name pmon ibcd frmp prgd elsb rhdlc#1 rbom almd type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 bits in this register indicate which function block caused an interrupt signal on int pin. reading this register does not clear the interrupt indication. to clear the interrupt indication on int pin, the corresponding interrupt status register must be read. t1 / j1 interrupt source #2 (009h, 089h, 109h, 189h, 209h, 289h, 309h, 389h) bit no. 7 6 5 4 3 2 1 0 bit name rhdlc#2 prty tjat rjat thdlc#1 thdlc#2 rcrb type r/w r/w r/w r/w r/w r/w reserved r/w default 0 0 0 0 0 0 0 bits in this register indicate which function block caused an interrupt signal on int pin. the prty bit indicates a pending parity error indication needs serving in the backplane parity configuration and status registers. reading this register does not clear the interrupt indication. to clear the interrupt indication on int pin, the corresponding interrupt status register must be read.
207 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 diagnostics (00ah, 08ah, 10ah, 18ah, 20ah, 28ah, 30ah, 38ah) bit no. 7 6 5 4 3 2 1 0 bit name linelb ddlb txmfp txdis type reserved r/w reserved r/w r/w r/w default 0 0 0 0 linelb: line loop back means that the transmit line interface data and clock (ltdn and ltckn) are internal directly comes from the received line data and clock (lrdn and lrckn). the loop back data stream can pass through the receive jitter attenuator or bypass the receive jitter attenuator (if the receive jitter attenuator is configured to be bypassed) = 0: line loop back is disabled. = 1: line loop back is enabled. ddlb: digital loop back means that the received line data and clock (lrdn and lrckn) are internal directly comes from the transmit line data and clock (ltdn and ltckn) without the receive jitter attenuator. = 0: digital loop back is disabled. = 1: digital loop back is enabled. txmfp: this bit controls whether the mimic pattern is generated. the mimic pattern is a copy of the f-bit. the mimic pattern is generated in the 1st bit of each channel. = 0: the mimic pattern is not generated. = 1: the mimic pattern is generated. txdis: = 0: normal transmission. = 1: force the data to be transmitted on the tldn pin to be all zeros. t1 / j1 revision / chip id / global pmon update (00ch) bit no. 7 6 5 4 3 2 1 0 bit name type[2] type[1] type[0] id[4] id[3] id[2] id[1] id[0] type r r r r r r r r default 0 0 0 0 0 0 0 1 writing to this register causes all performance monitor and prgd generator/detector counters to be updated simultaneously. type[2:0]: type[2:0] are fixed to 000, representing the idt82v2108 chip. id[4:0]: id[4:0] are fixed to 00011, representing the current version number of the idt82v2108.
208 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 data link micro select / framer reset (00dh, 08dh, 10dh, 18dh, 20dh, 28dh, 30dh, 38dh) bit no. 7 6 5 4 3 2 1 0 bit name rhdlcsel[1] rhdlcsel[0] thdlcsel[1] thdlcsel[0] txcisel reset type r/w r/w r/w r/w r/w reserved r/w default x x x x x 0 rhdlcsel[1:0]: the rhdlcsel[1:0] select one of the two hdlc receivers to be accessed by the microprocessor in esf format. when rhdlc #1 is selected, the hdlc link position is fixed in the dl of f-bit. when rhdlc #2 is selected, the microprocessor can access the hdlc #2 controller to assign the link to any one of 24 channels. these bits must be set before using the hdlc controller. rhdlcsel[1:0] the hdlc receiver 00 rhdlc #1 01 rhdlc #2 10 reserved 11 thdlcsel[1:0]: the thdlcsel[1:0] select which one of the two hdlc transmitters to be accessed by the microprocessor in esf format. when thdlc #1 is selected, the hdlc link position is fixed in the dl of f-bit. when thdlc #2 is selected, the microprocessor can access the hdlc #2 controller to assign the link to any one of 24 channels. these bits must be set before using the hdlc controller. thdlcsel[1:0] the hdlc transmitter 00 thdlc #1 01 thdlc #2 10 reserved 11 txcisel: the registers addressed from t1/j1-070h to t1/j1-071h are shared by the hdlc receiver and hdlc transmitter to decide the position of the extracted bit in the received data stream and the inserted bit in the transmitting data stream respectively. this bit is used to decide whether the read/ write operation on the registers addressed from t1/j1-070h to t1/j1-071h is for the hdlc receiver or for the hdlc transmitter. = 0: the read/write operation on registers addressed from t1/j1-070h to t1/j1-071h is for hdlc receiver. = 1: read/write operation on registers addressed from t1/j1-070h to t1/j1-071h is for the hdlc transmitter. reset: this bit implements a software reset for individual framer. = 0: normal operation. = 1: the corresponding framer is held in reset. however, this bit and the bits in this register can not be reset. therefore, a logic 0 must be written to bring the framer out of reset. holding the framer in a reset state effectively puts it into a low power standby mode. a hardware reset clears the reset bit and the bits in this register.
209 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 interrupt id (00eh) bit no. 7 6 5 4 3 2 1 0 bit name int[8] int[7] int[6] int[5] int[4] int[3] int[2] int[1] type r r r r r r r r default 0 0 0 0 0 0 0 0 this register indicates which one of the eight framers caused the interrupt int pin to logic low. when any one of the eight framers caused the interrupt, the corresponding bit in the int[8:1] will be high. t1 / j1 pattern generator / detector positioning / control (00fh) bit no. 7 6 5 4 3 2 1 0 bit name prgdsel[2] prgdsel[1] prgdsel[0] nx56k_gen nx56k_det rxpatgen unf_gen unf_det type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 the idt82v2108 has only one pattern generator/detector (prgd) shared by all eight framers. at one time, only one framer can use this prgd. this register selects which framer will use the prgd and how the prgd will be used. prgdsel[2:0]: prgdsel[2:0] select one of the eight framers to be tested by the prgd block. prgdsel[2:0] tested framer 000 framer 1 001 framer 2 010 framer 3 011 framer 4 100 framer 5 101 framer 6 110 framer 7 111 framer 8 nx56k_gen: this bit is i nvalid when the unf_gen (b1, t1/j1-00fh) is logic 1. = 0: eight bits are all replaced with the prgd pattern when one channel is selected in the tplc or rplc. = 1: the 7 most significant bits are replaced with the prgd pattern when one channel is selected in the tplc or rplc. nx56k_det: this bit is invalid when the unf_del (b0, t1/j1-00fh) is logic 1. = 0: eight bits are all detected by the prgd when one channel is selected in the tplc or rplc. = 1: the 7 most significant bits are detected by the prgd when one channel is selected in the tplc or rplc. rxpatgen: = 0: the pattern in prgd is generated in the transmit path and is detected in the receive path. = 1: the pattern in prgd is generated in the receive path and is detected in the transmit path. unf_gen: = 0: which channels of the selected path will be replaced by the prgd pattern is specified in tplc or rplc. = 1: all 24 channels and the f-bit of the selected path will be replaced by the prgd pattern. unf_det: = 0: which channels of the selected path will be detected by prgd pattern is specified in tplc or rplc. = 1: all 24 channels and the f-bit of the selected path will be detected by prgd pattern.
210 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rjat interrupt status (010h, 090h, 110h, 190h, 210h, 290h, 310h, 390h) bit no. 7 6 5 4 3 2 1 0 bit name ovri undi type reserved r r default x x ovri: if data are still attempted to write into the fifo when the fifo is already full, the overwritten event will occur. = 0: the rjat fifo is not overwritten. = 1: the rjat fifo is overwritten. this bit is cleared to 0 when it is read. undi: if data are still attempted to read from the fifo when the fifo is already empty, the under-run event will occur. = 0: the rjat fifo is not under-run. = 1: the rjat fifo is under-run. this bit is cleared to 0 when it is read. t1 / j1 rjat reference clock divisor (n1) control (011h, 091h, 111h, 191h, 211h, 291h, 311h, 391h) bit no. 7 6 5 4 3 2 1 0 bit name n1[7] n1[6] n1[5] n1[4] n1[3] n1[2] n1[1] n1[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n1[7:0] + 1) is the divisor of the input reference clock, which is the ratio between the frequency of the input reference clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the rjat. t1 / j1 rjat output clock divisor (n2) control (012h, 092h, 112h, 192h, 212h, 292h, 312h, 392h) bit no. 7 6 5 4 3 2 1 0 bit name n2[7] n2[6] n2[5] n2[4] n2[3] n2[2] n2[1] n2[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n2[7:0] + 1) is the divisor of the output smoothed clock, which is the ratio between the frequency of the output smoothed clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the rjat.
211 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rjat configuration (013h, 093h, 113h, 193h, 213h, 293h, 313h, 393h) bit no. 7 6 5 4 3 2 1 0 bit name cent unde ovre limit type reserved r/w r/w r/w reserved r/w default 0 0 0 1 cent: the cent allows the rjat fifo to self-center its read pointer, maintaining the pointer at least 4 ui away from the fifo being empty or full. = 0: disable the self-center. data are pass through uncorrupted when the fifo is empty or full. = 1: enable the fifo to self-center its read pointer when the fifo is 4 ui away from being empty or full. a positive transition in this bit will execute a self-center action immediately. unde: this bit decides whether to generate an interrupt when the rjat fifo is under-run. = 0: no interrupt is generated when the rjat fifo is under-run. = 1: an interrupt on the int pin is generated when the rjat fifo is under-run. ovre: this bit decides whether to generate an interrupt when the rjat fifo is overwritten. = 0: no interrupt is generated when the rjat fifo is overwritten. = 1: an interrupt on the int pin is generated when the rjat fifo is overwritten. limit: = 0: disable the limitation of the jitter attenuation. = 1: enable the dpll to limit the jitter attenuation by enabling the fifo to increase or decrease the frequency of the output smoothed clock when the read pointer is 1 ui away from the fifo being empty or full. this limitation of jitter attenuation ensures that no data is lost during high phase shift conditions. t1 / j1 trsi timeslot offset (014h, 094h, 114h, 194h, 214h, 294h, 314h, 394h) bit no. 7 6 5 4 3 2 1 0 bit name tsoff[6] tsoff[5] tsoff[4] tsoff[3] tsoff[2] tsoff[1] tsoff[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 in t1/j1 transmit clock slave external signaling mode e1 rate, the content in the tsoff[6:0] determines the channel offset between the signal on the tscfs pin and the start of the corresponding frame transmitted on the tsdn & tssign. in t1/j1 transmit clock slave tsfs enabled mode e1 rate, the content in the tsoff[6:0] determine the channel offset between the signal on the tscfs pin and the start of the corresponding frame transmitted on the tsdn. in transmit multiplexed mode, the content in the tsoff[6:0] determine the channel offset between the signal on the mtscfs pin and the start of the corresponding frame transmitted on the mtsd. except for the above three modes, the channel offset is disabled. thus, the tsoff[6:0] must be logic 0. these bits define a binary number. the offset can be set from 0 to 127 channels.
212 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 trsi bit offset (015h, 095h, 115h, 195h, 215h, 295h, 315h, 395h) bit no. 7 6 5 4 3 2 1 0 bit name mtbs cms coff boff[2] boff[1] boff[0] type reserved r/w r/w r/w reserved r/w r/w r/w default 0 0 0 0 0 0 mtbs: valid in transmit multiplexed mode. = 0: the data of the current channel are taken from the first multiplexed bus (mtsd[1], mtssig[1]). = 1: the data of the current channel are taken from the second multiplexed bus (mtsd[2], mtssig[2]). cms: = 0: the clock rate of the tscckb/mtscckb is the same as that of the backplane. = 1: the clock rate of the tscckb/mtscckb is twice that of the backplane. the cms of the eight framers should be set to the same value. coff: valid when the cms (b5, t1/j1-015h) is logic 1. = 0: select the first active edge of the tscckb/mtscckb to sample / update the data. = 1: select the second active edge of the tscckb/mtscckb to sample / update the data. in transmit clock multiplexed mode, the coff of the eight framers should be set to the same value. boff[2:0]: in t1/j1 transmit clock slave external signaling mode e1 rate, the content in the boff[2:0] determines the bit offset between the signal on the tscfs pin and the start of the sf/esf transmitted on the tsdn & tssign. in t1/j1 transmit clock slave tsfs enabled mode e1 rate, the content in the boff[2:0] determines the bit offset between the signal on the tscfs pin and the start of the sf/esf transmitted on the tsdn. in transmit multiplexed mode, the content in the boff[2:0] determines the bit offset between the signal on the mtscfs pin and the start of the sf/esf transmitted on the mtsd & mtssig. except for the above three modes, the bit offset is disabled. thus, the boff[2:0] must be logic 0. these bits define a binary number. refer to the functional description for details.
213 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 tjat interrupt status (018h, 098h, 118h, 198h, 218h, 298h, 318h, 398h) bit no. 7 6 5 4 3 2 1 0 bit name ovri undi type reserved r r default x x ovri: if data are still attempted to write into the fifo when the fifo is already full, the overwritten event will occur. = 0: the tjat fifo is not overwritten. = 1: the tjat fifo is overwritten. this bit is cleared to 0 when it is read. undi: if data are still attempted to read from the fifo when the fifo is already empty, the under-run event will occur. = 0: the tjat fifo is not under-run. = 1: the tjat fifo is under-run. this bit is cleared to 0 when it is read. t1 / j1 tjat reference clock divisor (n1) control (019h, 099h, 119h, 199h, 219h, 299h, 319h, 399h) bit no. 7 6 5 4 3 2 1 0 bit name n1[7] n1[6] n1[5] n1[4] n1[3] n1[2] n1[1] n1[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n1[7:0] + 1) is the divisor of the input reference clock, which is the ratio between the frequency of the input reference clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the tjat. t1 / j1 tjat output clock divisor (n2) control (01ah, 09ah, 11ah, 19ah, 21ah, 29ah, 31ah, 39ah) bit no. 7 6 5 4 3 2 1 0 bit name n2[7] n2[6] n2[5] n2[4] n2[3] n2[2] n2[1] n2[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 1 0 1 1 1 1 these bits define a binary number. the (n2[7:0] + 1) is the divisor of the output smoothed clock, which is the ratio between the frequency of the output smoothed clock and the frequency applied to the phase discriminator input. writing to this register will reset the dpll in the tjat.
214 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 tjat configuration (01bh, 09bh, 11bh, 19bh, 21bh, 29bh, 31bh, 39bh) bit no. 7 6 5 4 3 2 1 0 bit name cent unde ovre limit type reserved r/w r/w r/w reserved r/w default 0 0 0 1 cent: the cent allows the tjat fifo to self-center its read pointer, maintaining the pointer at least 4 ui away from the fifo being empty or full. = 0: disable the self-center. data are pass through uncorrupted when the fifo is empty or full. = 1: enable the fifo to self-center its read pointer when the fifo is 4 ui away from being empty or full. a positive transition in this bit will execute a self-center action immediately. unde: this bit decides whether to generate an interrupt when the tjat fifo is under-run. = 0: no interrupt is generated when the tjat fifo is under-run. = 1: an interrupt on the int pin is generated when the tjat fifo is under-run. ovre: this bit decides whether to generate an interrupt when the tjat fifo is overwritten. = 0: no interrupt is generated when the tjat fifo is overwritten. = 1: an interrupt on the int pin is generated when the tjat fifo is overwritten. limit: = 0: disable the limitation of the jitter attenuation. = 1: enable the dpll to limit the jitter attenuation by enabling the fifo to increase or decrease the frequency of the output smoothed clock when the read pointer is 1 ui away from the fifo being empty or full. this limitation of jitter attenuation ensures that no data is lost during high phase shift conditions. t1 / j1 elsb interrupt enable / status (01dh, 09dh, 11dh, 19dh, 21dh, 29dh, 31dh, 39dh) bit no. 7 6 5 4 3 2 1 0 bit name slipe slipd slipi type reserved r/w r r default 0 x x slipe: = 0: disable the interrupt on the int pin when a slip occurs. = 1: enable the interrupt on the int pin when a slip occurs . slipd: this bit is applicable when the slipi is logic 1. = 0: the latest slip is due to the elastic store buffer being empty; a frame was duplicated. = 1: the latest slip is due to the elastic store buffer being full; a frame was deleted. slipi: = 0: no slip occurs. = 1: a slip occurs. this bit is cleared to 0 after the bit is read.
215 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 elsb idle code (01eh, 09eh, 11eh, 19eh, 21eh, 29eh, 31eh, 39eh) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default 1 1 1 1 1 1 1 1 these bits set the idle code that will replace the data on the rsdn/mrsd automatically when it is out of sf/esf sync . d7 is the first bit to be inserted. the writing of the idle code pattern is asynchronous with respect to the output data clock. one channel of idle code data will be corrupted if the register is written to when the framer is out of frame. t1 / j1 frmp configuration (020h, 0a0h, 120h, 1a0h, 220h, 2a0h, 320h, 3a0h) bit no. 7 6 5 4 3 2 1 0 bit name m2o[1] m20[0] esffa esf jyel type r/w r/w r/w r/w r/w reserved default 0 0 0 0 0 m20[1:0]: these bits select the sf/esf frame loss criteria. = 00: 2 of 4 frame alignment bits in error. = 01: 2 of 5 frame alignment bits in error. = 10: 2 of 6 frame alignment bits in error. = 11: reserved esffa: this bit selects the framing algorithm for esf format. = 0: if four consecutive frame alignment patterns are detected in the f-bit in the received data stream without the mimic framing pattern, the esf synchronization is acquired. however, if there are mimic framing patterns in the received data stream, the esf in-frame is not declared. = 1: when 6 consecutive frame alignment patterns are received error free and the crc-6 checksum is also error free, the synchronization is acquired. in this condition, the existance of the mimic framing patterns is not considered. esf: this bit selects the sf or esf format in the frame processor block. = 0: sf format is selected. = 1: esf format is selected. jyel: this bit selects the t1 or j1 mode in the frame processor block. = 0: t1 mode is selected. = 1: j1 mode is selected.
216 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 frmp interrupt enable (021h, 0a1h, 121h, 1a1h, 221h, 2a1h, 321h, 3a1h) bit no. 7 6 5 4 3 2 1 0 bit name cofae fere beee sfee mfpe infre type reserved r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 cofae: when the frame alignment pattern has been achieved and the position of the new frame alignment pattern differs from the previous one, this bit decides whether to generate an interrupt or not. = 0: disables the interrupt when there is a shift on the framing signal position. =1: enables the interrupt on int pin when there is a shift on the framing signal position. fere: = 0: no interrupt is generated when there is a framing bit error. = 1: an interrupt on int pin is generated when a framing bit error is detected. beee: = 0: no interrupt is generated when there is a bit error event. = 1: an interrupt on int pin is generated when a bit error event occurs. here, the bit error event is defined as a framing bit error for sf formatted data and a crc-6 error (the local calculated crc-6 result is not the same as the received crc-6 bits) for esf formatted data. (in sf mode, this bit has the same function as the fere.) sfee: the severe framing error is defined as 2 or more framing bit errors during the current super-frame of sf or esf data. = 0: no interrupt is generated when there is a severe framing error. = 1: an interrupt on int pin is generated when severe framing error event occurs. mfpe: mimic framing pattern is defined as more than one framing alignment pattern existing simultaneously in the receiving data stream. this bit decides whether to generate an interrupt when mimic framing pattern appears or disappears. = 0: no interrupt is generated when there is a transition of the status of mimic framing pattern. = 1: an interrupt on int pin is generated when there is a transition (exist to non-exist, or non-exist to exist) of the status of mimic framing pattern. infre: this bit decides whether to generate an interrupt when the status of incoming data stream changes from in-frame to out-of-frame or from out-of- frame to in-frame. = 0: no interrupt is generated when there is a transition of frame synchronize status. = 1: an interrupt on int pin is generated when there is a transition of framing synchronize status.
217 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 frmp interrupt status (022h, 0a2h, 122h, 1a2h, 222h, 2a2h, 322h, 3a2h) bit no. 7 6 5 4 3 2 1 0 bit name cofai feri beei sfei mfpi infri mfp infr type r r r r r r r r default 0 0 0 0 0 0 0 0 cofai: = 0: indicates the framing signal position shift has not occurred. = 1: indicates the occurrence of framing signal position shift, which means when the frame alignment pattern has been achieved, the position of the new alignment pattern differs from the previous one. this bit is cleared to 0 after it is read. feri: = 0: indicates that there is no framing bit error. = 1: indicates the occurrence of a framing bit error. this bit is cleared to 0 after it is read. beei: this bit indicates the occurrence of a bit error event. the bit error event is defined as a framing bit error for sf format or a crc-6 error (the local calculated crc-6 result is not the same as the received crc-6 bits) for esf format. = 0: indicates there is no bit error. = 1: indicates the occurrence of a bit error. (for sf formatted data, this bit has the same function as feri bit.) this bit is cleared to 0 after it is read sfei: the severe framing error is defined as 2 or more framing bit errors during the current super-frame of sf or esf data. = 0: indicates there is no severe framing error. = 1: indicates the occurrence of severe framing error. this bit is cleared to 0 after it is read. mfpi: this bit indicates the transition of the status of the current mimic framing pattern. = 0: when the status of current mimic framing pattern is not changed. = 1: when there is a transition (exist to non-exist, or non-exist to exist) of the status of mimic framing pattern. this bit is cleared to 0 after it is read. infri: this bit indicates the transition of frame synchronization status. = 0: when the frame synchronization status is not changed. = 1: when the frame synchronization status of the receiving data stream changes from in-frame to out-of-frame or from out-of-frame to in-frame. mfp: this bit reflects the current status of mimic framing pattern. = 0: indicates that the mimic framing pattern does not exist. = 1: indicates the presence of more than one framing alignment patterns in the receiving data stream. read operation will not change the status of this bit. infr: this bit reflects the current status of frame synchronization. = 0: the received data stream is out-of-frame. = 1: the received data stream is in-frame. read operation will not change the status of this bit.
218 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 clock monitor (027h, 0a7h, 127h, 1a7h, 227h, 2a7h, 327h, 3a7h) bit no. 7 6 5 4 3 2 1 0 bit name xck tscckb tsccka rscck lrck type reserved r r r r r default x x x x x this register provides monitoring on the idt82v2108 clocks. when a monitored clock signal makes a low to high transition, the corresponding bit in this register is set to 1, and this bit remains to be 1 until this register is read. after a read operation on this register, all the bits in this register will be cleared to 0. a lack of transitions of the monitored clock will be indicated by 0 in the corresponding bit, which means that the clock fails. this register should be read periodically to detect clock failures. xck: = 0: after the bit is read. = 1: a low to high transition occurs on the xck. tscckb: = 0: after the bit is read. = 1: a low to high transition occurs on the tscckb. tsccka: = 0: after the bit is read. = 1: a low to high transition occurs on the tsccka. rscck: = 0: after the bit is read. = 1: a low to high transition occurs on the rscck. lrck: = 0: after the bit is read. = 1: a low to high transition occurs on the lrck.
219 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rbom enable (02ah, 0aah, 12ah, 1aah, 22ah, 2aah, 32ah, 3aah) bit no. 7 6 5 4 3 2 1 0 bit name idle avc boce type reserved r/w r/w r/w default 0 0 0 idle: = 0: disable the interrupt on the int pin when there is a transition from bom to non-bom in the received data stream . = 1: enable the interrupt on the int pin when there is a transition from bom to non-bom in the received data stream . avc: this bit selects the validation criteria used to acknowledge the bit oriented message (bom) in the received data stream, or to acknowledge the yellow signal in t1/j1 esf format. = 0: the bom or the yellow signal is acknowledged when the pattern is matched and the received code is identical 8 out of 10 times. = 1: the bom or the yellow signal is acknowledged when the pattern is matched and the received code is identical 4 out of 5 times. boce: = 0: disable the interrupt on the int pin when a valid bom code is detected in the received data stream . = 1: enable the interrupt on the int pin when a valid bom code is detected in the received data stream . t1 / j1 rbom code status (02bh, 0abh, 12bh, 1abh, 22bh, 2abh, 32bh, 3abh) bit no. 7 6 5 4 3 2 1 0 bit name idlei boci boc[5] boc[4] boc[3] boc[2] boc[1] boc[0] type r r r r r r r r default 0 0 1 1 1 1 1 1 idlei: = 0: no transition from bit oriented message (bom) to non-bom in the received data stream . = 1: a transition from bom to non-bom in the received data stream . this bit is cleared to 0 after the register is read. boci: = 0: no bit oriented message (bom) is detected. = 1: bom is detected in the received data stream. this bit is cleared to 0 after the register is read. boc[5:0]: these bits directly reflect the content of the bit oriented message (bom ) in the received data stream. all ones in the boc[5:0] mean there is no bom received. the boc[5] corresponds to the msb of the code while the boc[0] corresponds to the lsb.
220 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 almd configuration (02ch, 0ach, 12ch, 1ach, 22ch, 2ach, 32ch, 3ach) bit no. 7 6 5 4 3 2 1 0 bit name j1_yel esf type reserved r/w r/w reserved default 0 0 j1_yel: this bit selects the t1 or j1 mode in the alarm detector block. = 0: t1 mode is selected in the almd block. = 1: j1 mode is selected in the almd block. esf: this bit selects the sf or esf format in the alarm detector block. = 0: sf format is selected. = 1: esf format is selected. t1 / j1 almd interrupt enable (02dh, 0adh, 12dh, 1adh, 22dh, 2adh, 32dh, 3adh) bit no. 7 6 5 4 3 2 1 0 bit name fastd yele rede aise type reserved r/w reserved r/w r/w r/w default 0 0 0 0 fastd: = 0: the red alarm is cleared when the out of sf/esf sync event has been absent for 16.6sec ( 500ms); the ais alarm is cleared when the ais signal has been absent for 16.8sec ( 500ms). = 1: the red alarm is cleared when the out of sf/esf sync event has been absent for 120ms; the ais alarm is cleared when the ais signal has been absent for 180ms. yele: = 0: disable the interrupt on the int pin when the yeli (b5, t1/j1-02eh) is logic one. = 1: enable the interrupt on the int pin when the yeli (b5, t1/j1-02eh) is logic one. rede: = 0: disable the interrupt on the int pin when the redi (b4, t1/j1-02eh) is logic one. = 1: enable the interrupt on the int pin when the redi (b4, t1/j1-02eh) is logic one. aise: = 0: disable the interrupt on the int pin when the aisi (b3, t1/j1-02eh) is logic one. = 1: enable the interrupt on the int pin when the aisi (b3, t1/j1-02eh) is logic one.
221 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 almd interrupt status (02eh, 0aeh, 12eh, 1aeh, 22eh, 2aeh, 32eh, 3aeh) bit no. 7 6 5 4 3 2 1 0 bit name yeli redi aisi yel red ais type reserved r r r r r r default 0 0 0 0 0 0 yeli: = 0: there is no transition (from 1 to 0 or from 0 to 1) on the yel (b2, t1/j1-02eh). = 1: there is a transition (from 1 to 0 or from 0 to 1) on the yel (b2, t1/j1-02eh). this bit is clear to 0 after the register is read. redi: = 0: there is no transition (from 1 to 0 or from 0 to 1) on the red (b1, t1/j1-02eh). = 1: there is a transition (from 1 to 0 or from 0 to 1) on the red (b1, t1/j1-02eh). this bit is clear to 0 after the register is read. aisi: = 0: there is no transition (from 1 to 0 or from 0 to 1) on the ais (b0, t1/j1-02eh). = 1: there is a transition (from 1 to 0 or from 0 to 1) on the ais (b0, t1/j1-02eh). this bit is clear to 0 after the register is read. yel: = 0: the yellow signal has been absent for 425ms ( 50ms). = 1: the yellow signal has been present for 425ms ( 50ms). red: = 0: the redd (b2, t1/j1-02fh) has been logic 0 for 16.6sec ( 500ms), or for 120ms if the fastd (b4, t1/j1-02dh) is set. = 1: the redd (b2, t1/j1-02fh) has been logic 1 for 2.55sec ( 40ms). ais: = 0: the ais signal has been absent for 16.8sec ( 500ms), or for 180ms if the fastd (b4, t1/j1-02dh) is set. = 1: the ais signal has been present for 1.5sec ( 100ms).
222 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 almd alarm detection status (02fh, 0afh, 12fh, 1afh, 22fh, 2afh, 32fh, 3afh) bit no. 7 6 5 4 3 2 1 0 bit name redd yeld aisd type reserved r r r default x x x redd: = 0: no out of sf/esf sync event has occurred in the latest 40ms period. = 1: one or more out of sf/esf sync events have occurred in the latest 40ms period. yeld: = 0: in sf format, the yellow signal is absent during the latest 40ms period; in esf format, the yellow signal is absent during the latest 4ms period. = 1: in sf format, the yellow signal is present during the latest 40ms period; in esf format, when the avc (b1, t1/j1-02ah) is 0, the yellow signal is present during the latest 40ms period, when the avc (b1, t1/j1-02ah) is 1, the yellow signal is present during the latest 20ms period. the yellow signal is acknowledged differently in each format: - in t1 sf format: the yellow signal occupies the 2nd bit of each channel. when the bit is logic 1 for 16 or fewer times during the 40ms period, the yellow signal is present. - in j1 sf format: the yellow signal occupies the f-bit of the 12th frame. however, when the bit is logic 0 for 2 or fewer times during the 40ms period, the yellow signal is present. - in t1/j1 esf format: the yellow signal occupies the dl of the f-bit (refer to table-4). the pattern is ?ff00? in t1 mode and ?ffff? in j1 mode. when the avc (b1, t1/j1-02ah) is logic 0, the yellow signal is acknowledged if the pattern is matched in 8 out of 10 successive dl. when the avc (b1, t1/j1-02ah) is logic 1, the yellow signal is acknowledged if the pattern is matched in 4 out of 5 successive dl. aisd: = 0: the ais signal is absent during the latest 60ms period. = 1: the ais signal is present during the latest 60ms period. the ais signal is acknowledged when the received data are out of sf/esf synchronization for 60ms and the received logic 0 is less than 127 times in the same period.
223 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 tplc configuration (030h, 0b0h, 130h, 1b0h, 230h, 2b0h, 330h, 3b0h) bit no. 7 6 5 4 3 2 1 0 bit name pcce type reserved r/w default 0 pcce: = 0: the per-channel functions in tplc are disabled. = 1: the per-channel functions in tplc are enabled. t1 / j1 tplc m p access status (031h, 0b1h, 131h, 1b1h, 231h, 2b1h, 331h, 3b1h) bit no. 7 6 5 4 3 2 1 0 bit name busy type r reserved default 0 busy: = 0: no reading or writing operation on the indirect registers. = 1: an internal indirect register is being accessed, any new operation on the internal indirect register is not allowed. this bit goes low timed to an internal high-speed clock rising edge after the operation has been completed. the operation cycle is 650ns. no more operations to the indirect registers could be done until this bit is cleared. t1 / j1 tplc channel indirect address / control (032h, 0b2h, 132h, 1b2h, 232h, 2b2h, 332h, 3b2h) bit no. 7 6 5 4 3 2 1 0 bit name r/wb a6 a5 a4 a3 a2 a1 a0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 writing to this register with a valid address and r/wb bit initiates an internal operation cycle to the indirect registers. r/wb: = 0: write the data to the specified indirect register. = 1: read the data from the specified indirect register. a[6:0]: specify the address of the indirect registers (from 01h to 48h) for the microprocessor access.
224 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 tplc channel indirect data buffer (033h, 0b3h, 133h, 1b3h, 233h, 2b3h, 333h, 3b3h) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 this register hold the value which will be read from or write into the indirect registers (from 01h to 48h). if data are to be written to the indirect registers, the byte to be written must be written into this register before the target indirect register?s address and r/wb=0 is written into the address/ control register, initiating the access. if data are to be read from the indirect registers, only the target indirect register?s address and r/wb=1 is written into the address/control register, initiating the request. after 490 ns, this register will contain the requested data byte. tplc indirect registers map 01h ~ 18h per-channel control for channel 1 ~ 24 19h ~ 30h idle code byte for channel 1 ~ 24 31h ~ 48h signaling control byte for channel 1 ~ 24
225 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 tplc per-channel control registers (tplc indirect registers 01h ? 18h) bit no. 7 6 5 4 3 2 1 0 bit name invert idle_ds0 dmw signinv test loop zcs[1] zcs[0] type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x invert: this bit, together with the signinv (b4, t1/j1-tplc-indirect register - 01~18h), determines the bit inversion of the corresponding channel when input from the tsdn/mtsd pin. invert signinv bit inversion 0 0 no bit inversion 0 1 invert the msb of the corresponding channel 1 0 invert all the bits of the corresponding channel 1 1 invert all the bits except the msb of the corresponding channel idle_ds0: = 0: disable the data in the corresponding channel to be replaced by the data set in the idle[7:0] when input from the tsdn/mtsd pin. = 1: enable the data in the corresponding channel to be replaced by the data set in the idle[7:0] when input from the tsdn/mtsd pin. dmw: = 0: disable the data in the corresponding channel to be replaced with a digital milliwatt pattern when input from the tsdn/mtsd pin. = 1: enable the data in the corresponding channel to be replaced with a digital milliwatt pattern when input from the tsdn/mtsd pin. signinv: refer to the invert (b7, t1/j1-tplc-indirect register - 01~18h). test: = 0: disable the data in the corresponding channel to be tested by prgd. = 1: enable the data in the corresponding channel to be extracted to prgd for test (when the rxpatgen [b2, t1/j1-00fh] is logic 1), or enable the test pattern from prgd to replace the data in the corresponding channel for test (when the rxpatgen [b2, t1/j1-00fh] is logic 0). all the timeslots that are extracted to the prgd are concatenated and treated as a continuous stream in which pseudo random are searched for. similarly, all timeslots set to be replaced with prgd test pattern data are concatenated replaced by the prbs. loop: = 0: disable the payload loopback. = 1: enable the payload loopback. when the receive clock master modes are enabled, the elastic store is used to align the receive line data to the data to be transmitted. when receive clock slave modes are enabled, the elastic store is unavailable to facilitate the payload loopbacks, and loopback functionality is provided only when the transmit path is also in transmit clock slave mode, and the received clock and the clock to be transmitted and common frame pulse are identical (rscck = tscckb, rscfs = tscfs). zcs[1:0]: zcs[1:0] per-channel zero code suppression 0 0 no zero code suppression. 0 1 every bit 8 in the corresponding channel is forced to be logic one. 1 0 gte zero code suppression ? every bit 8 (or bit 7 in signaling frames) is forced to be logic one when the bits in the corresponding channel are all zeros. 1 1 bell zero code suppression ? every bit 7 is forced to be logic one when the bits in the corresponding channel are all zeros. the priority of the tplc operation on the tsdn/mtsd pin from high to low is: extract data to prgd for test; zero code suppression; payload loopback; replace the data with the milliwatt pattern; replace the data with the pattern generated in the prgd; replace the data with the value in the idle[7:0]; invert the bit.
226 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 tplc idle code byte registers (tplc indirect registers 19h ? 30h) bit no. 7 6 5 4 3 2 1 0 bit name idle7 idle6 idle5 idle4 idle3 idle2 idle1 idle0 type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x they contain the data that will replace the data input from the tsdn/mtsd pin when the corresponding idle_ds0 is logic 1. idle7 is the msb. t1 / j1 tplc signaling control byte registers (tplc indirect registers 31h ? 48h) bit no. 7 6 5 4 3 2 1 0 bit name sigc0 sigc1 a b c d type r/w r/w reserved r/w r/w r/w r/w default x x x x x x sigc0: this bit is v alid when the corresponding sigc1 is logic 1. = 0: use the data input from the tssign/mtssig pin as the signaling. = 1: use the data in the a, b, c, d as the signaling. sigc1: = 0: disable replacing the signaling bit with the data input from the tssign/mtssig pin or the data in the a, b, c, d. = 1: enable replacing the signaling bit with the data input from the tssign/mtssig pin or the data in the a, b, c, d. a, b, c, d: they contain the data that can be used as signaling when the corresponding sigc0 is logic 1. they are in the least significant nibble.
227 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 thdlc #1, #2 configuration (034h, 0b4h, 134h, 1b4h, 234h, 2b4h, 334h, 3b4h) bit no. 7 6 5 4 3 2 1 0 bit name flgshare fifoclr eom abt crc en type r/w r/w reserved r/w r/w r/w r/w default 1 0 0 0 1 0 selection of the thdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, t1/ j1-00dh). flgshare: = 0: the closing flag of the current hdlc and the opening flag of the next hdlc are separate. = 1: the closing flag of the current hdlc and the opening flag of the next hdlc are shared. fifoclr: = 0: normal operation. = 1: clear the fifo. eom: = 0: normal operation. = 1: a positive transition of this bit starts a packet transmission. then if the crc(b1, e1-050h) is set, the 16-bit fcs word is appended to the last data byte transmitted. abt: = 0: normal operation. = 1: transmit the 7f abort sequence after the current setting in the transmit data register is transmitted, so that the fifo is cleared and all data in the fifo will be lost. aborts are continuously sent and the fifo is held in reset until this bit is reset to a logic 0. at least one abort sequence will be sent when the abt transitions from logic 0 to logic 1. crc: = 0: do not append the crc-16 frame check sequences (fcs) to the end of the hdlc data. = 1: append the fcs to the end of the hdlc data en: = 0: disable the operation of the thdlc block and transmit all ones on the assigned data link. = 1: enable the operation of the thdlc block and flag sequences are sent until data are written into the thdlc transmit data register and the eom is set to logic 1.
228 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 thdlc #1, #2 upper transmit threshold (035h, 0b5h, 135h, 1b5h, 235h, 2b5h, 335h, 3b5h) bit no. 7 6 5 4 3 2 1 0 bit name uthr[6] uthr[5] uthr[4] uthr[3] uthr[2] uthr[1] uthr[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 1 0 0 0 0 0 0 selection of the thdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, t1/ j1-00dh). uthr[6:0]: these bits define the upper fill level of the fifo. once the fill level exceeds the uthr[6:0] value, the data stored in the fifo will start to transmit. the transmission will not stop until the last complete packet is transmitted and the thdlc fifo fill level is below uthr[6:0] + 1. it should be greater than the value of the lint[6:0] unless both are equal to 00h. t1 / j1 thdlc #1, #2 lower interrupt threshold (036h, 0b6h, 136h, 1b6h, 236h, 2b6h, 336h, 3b6h) bit no. 7 6 5 4 3 2 1 0 bit name lint[6] lint[5] lint[4] lint[3] lint[2] lint[1] lint[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 1 1 1 selection of the thdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, t1/ j1-00dh). lint[6:0]: these bits define the fill level of the fifo that can cause an interrupt. that is, when the fill level of the fifo is below the lint[6:0], an interrupt will be generated. it should be less than the value of the uthr[6:0] unless both are equal to 00h.
229 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 thdlc #1, #2 interrupt enable (037h, 0b7h, 137h, 1b7h, 237h, 2b7h, 337h, 3b7h) bit no. 7 6 5 4 3 2 1 0 bit name fulle ovre udre lfille type reserved r/w r/w r/w r/w default 0 0 0 0 selection of the thdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, t1/ j1-00dh). fulle: = 0: disable the interrupt on the int pin when the fulli (b3, t1/j1-038h) is logic 1. = 1: enable the interrupt on the int pin when the fulli (b3, t1/j1-038h) is logic 1. ovre: = 0: disable the interrupt on the int pin when the ovri (b2, t1/j1-038h) is logic 1. = 1: enable the interrupt on the int pin when the ovri (b2, t1/j1-038h) is logic 1. udre: = 0: disable the interrupt on the int pin when the udri (b1, t1/j1-038h) is logic 1. = 1: enable the interrupt on the int pin when the udri (b1, t1/j1-038h) is logic 1. lfille: = 0: disable the interrupt on the int pin when the lfilli (b0, t1/j1-038h) is logic 1. = 1: enable the interrupt on the int pin when the lfilli (b0, t1/j1-038h) is logic 1.
230 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 thdlc #1, #2 interrupt status / udr clear (038h, 0b8h, 138h, 1b8h, 238h, 2b8h, 338h, 3b8h) bit no. 7 6 5 4 3 2 1 0 bit name full blfill fulli ovri udri lfilli type reserved r r reserved r r r r default x x x x x x selection of the thdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, t1/ j1-00dh). full: = 0: the thdlc fifo is not full. = 1: the thdlc fifo is full (128 bits). blfill: = 0: the data in the thdlc fifo are not below the value of the lint[6:0] (b6~0, t1/j1-036h). = 1: the data in the thdlc fifo are empty or below the value of the lint[6:0] (b6~0, t1/j1-036h). fulli: = 0: there is no transition (from 0 to 1) on the full. = 1: there is a transition (from 0 to 1) on the full. this bit is clear to 0 after the bit is read. ovri: the over-written is that the thdlc fifo was already full when another data byte was written to the thdlc transmit data register. = 0: the thdlc fifo is not overwritten. = 1: the thdlc fifo is overwritten (more than 128 bits). this bit is clear to 0 after the bit is read. udri: the under-run is that the thdlc was in the process of transmitting a packet when it ran out of data to be transmitted. = 0: the thdlc fifo is not under-run. = 1: the thdlc fifo is under-run. this bit is clear to 0 after the bit is read. lfilli: = 0: there is no transition (from 0 to 1) on the blfill. = 1: there is a transition (from 0 to 1) on the blfill. this bit is clear to 0 after the bit is read.
231 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 thdlc #1, #2 transmit data (039h, 0b9h, 139h, 1b9h, 239h, 2b9h, 339h, 3b9h) bit no. 7 6 5 4 3 2 1 0 bit name td[7] td[6] td[5] td[4] td[3] td[2] td[1] td[0] type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x selection of the thdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the thdlcsel[1:0] (b5~4, t1/ j1-00dh). the content is the data to be transmitted. it is serially transmitted (td[0] is the first). t1 / j1 ibcd configuration (03ch, 0bch, 13ch, 1bch, 23ch, 2bch, 33ch, 3bch) bit no. 7 6 5 4 3 2 1 0 bit name ibcd_err[1] ibcd_err[0] dsel1 dsel0 asel1 asel0 type reserved r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 ibcd_err[1:0]: the ibcd_err[1:0] sets the error tolerance in the received activate/deactivate code within 39.8ms: ibcd_err[1:0] error tolerance 0 0 0 bit 0 1 200 bits 1 0 20 bits 1 1 2 bits dsel[1:0]: the dsel[1:0] define the length of the received loopback deactivate code, meanwhile, it define the valid code in the dact[7:0] (b7~0, t1/j1- 03fh): dsel[1:0] deactivate code length & valid code in the dact[7:0] 0 0 5-bit length & the code in the dact[7:3] is valid 0 1 6-bit or 3-bit length & the code in the dact[7:2] is valid 1 0 7-bit length & the code in the dact[7:1] is valid 1 1 8-bit or 4-bit length & the code in the dact[7:0] is valid asel[1:0]: the asel[1:0] define the length of the received loopback activate code, meanwhile, it define the valid code in the act[7:0] (b7~0, t1/j1-03eh): asel[1:0] activate code length & valid code in the act[7:0] 0 0 5-bit length & the code in the act[7:3] is valid 0 1 6-bit or 3-bit length & the code in the act[7:2] is valid 1 0 7-bit length & the code in the act[7:1] is valid 1 1 8-bit or 4-bit length & the code in the act[7:0] is valid
232 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 ibcd interrupt enable / status (03dh, 0bdh, 13dh, 1bdh, 23dh, 2bdh, 33dh, 3bdh) bit no. 7 6 5 4 3 2 1 0 bit name lbacp lbdcp lbae lbde lbai lbdi lba lbd type r r r/w r/w r r r r default 0 0 0 0 0 0 0 0 lbacp: = 0: no loopback activate code is present for 39.8ms. = 1: the loopback activate code is present for 39.8ms. lbdcp: = 0: no loopback deactivate code is present for 39.8ms. = 1: the loopback deactivate code is present for 39.8ms. lbae: = 0: disable the interrupt on the int pin when the loopback activate code status changes (i.e., the lbai is logic one). = 1: enable the interrupt on the int pin when the loopback activate code status changes (i.e., the lbai is logic one). lbde: = 0: disable the interrupt on the int pin when the loopback deactivate code status changes (i.e., the lbdi is logic one). = 1: enable the interrupt on the int pin when the loopback deactivate code status changes (i.e., the lbdi is logic one). lbai: = 0: the loopback activate code status does not change. = 1: the loopback activate code status changes (i.e., there is a transition from 0 to 1 or from 1 to 0 on the lba). this bit is cleared to 0 after the register is read. lbdi: = 0: the loopback deactivate code status does not change. = 1: the loopback deactivate code status changes (i.e., there is a transition from 0 to 1 or from 1 to 0 on the lbd). this bit is cleared to 0 after the register is read. lba: = 0: no loopback activate code is present for 5.1s. = 1: the loopback activate code is present for 5.1s. lbd: = 0: no loopback deactivate code is present for 5.1s. = 1: the loopback deactivate code is present for 5.1s.
233 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 ibcd activate code (03eh, 0beh, 13eh, 1beh, 23eh, 2beh, 33eh, 3beh) bit no. 7 6 5 4 3 2 1 0 bit name act7 act6 act5 act4 act3 act2 act1 act0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 the act[7:x] defines the content of the activate code. ?x? is 3, 2, 1 or 0 and depends on the length defined by the asel[1:0] (b1~0, t1/j1-03ch). the unused bits should be ignored. the act[7] is the msb and compares with the first received code bit. t1 / j1 ibcd deactivate code (03fh, 0bfh, 13fh, 1bfh, 23fh, 2bfh, 33fh, 3bfh) bit no. 7 6 5 4 3 2 1 0 bit name dact7 dact6 adct5 dact4 dact3 dact2 dact1 dact0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 the dact[7:x] defines the content of the deactivate code. ?x? is 3, 2, 1 or 0 and depends on the length defined by the dsel[1:0] (b3~2, t1/j1- 03ch). the unused bits should be ignored. the dact[7] is the msb and compares with the first received code bit. t1 / j1 rcrb configuration (coss = 0) (040h, 0c0h, 140h, 1c0h, 240h, 2c0h, 340h, 3c0h) bit no. 7 6 5 4 3 2 1 0 bit name coss sige esf pcce type reserved r/w r/w reserved r/w reserved r/w default 0 0 0 0 coss: = 0: allow the rcrb registers to access the indirect registers. = 1: allow the rcrb registers to reflect the change of the signaling of its corresponding channel. sige: = 0: disable generation of an interrupt on the int pin when there is signaling change in any one of the 24 channels. = 1: enable generation of an interrupt on the int pin when there is signaling change in any one of the 24 channels. esf: this bit selects the sf or esf format in the receive cas/rbs buffer block. = 0: sf format is selected. = 1: esf format is selected. pcce: = 0: the per-channel functions in rcrb are disabled. = 1: the per-channel functions in rcrb are enabled.
234 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rcrb channel indirect status (coss = 0) (041h, 0c1h, 141h, 1c1h, 241h, 2c1h, 341h, 3c1h) bit no. 7 6 5 4 3 2 1 0 bit name busy type r reserved default 0 busy: = 0: no reading or writing operation on the indirect registers is occurring. = 1: an internal indirect register is being accessed, any new operation on the internal indirect register is not allowed. this bit goes low timed to an internal high-speed clock rising edge after the operation has been completed. the operation cycle is 650ns. no more operations to the indirect registers could be done until this bit is cleared. t1 / j1 rcrb channel indirect address / control (coss = 0) (042h, 0c2h, 142h, 1c2h, 242h, 2c2h, 342h, 3c2h) bit no. 7 6 5 4 3 2 1 0 bit name r/wb a6 a5 a4 a3 a2 a1 a0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 r/wb: = 0: write the data to the specified indirect register. = 1: read the data from the specified indirect register. a[6:0]: specifies the address of the indirect registers (from 20h to 57h) for the microprocessor access. t1 / j1 rcrb channel indirect data buffer (coss = 0) (043h, 0c3h, 143h, 1c3h, 243h, 2c3h, 343h, 3c3h) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x this register holds the value which will be read from or written to the indirect registers (from 20h to 57h). if data are to be written to the indirect registers, the byte to be written must be written into this register before the target indirect register?s address and r/wb=0 is written into the address/ control register, initiating the access. if data are to be read from the indirect registers, only the target indirect register?s address and r/wb=1 is written into the address/control register, initiating the request. after 640 ns, this register will contain the requested data byte.
235 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rcrb configuration (coss = 1) (040h, 0c0h, 140h, 1c0h, 240h, 2c0h, 340h, 3c0h) bit no. 7 6 5 4 3 2 1 0 bit name coss type reserved r/w reserved default 0 coss: = 0: allow the rcrb registers to access the indirect registers. = 1: allow the rcrb registers to reflect the change of the signaling of its corresponding channel. t1 / j1 rcrb signaling state change channels 17-24 (coss = 1) (041h, 0c1h, 141h, 1c1h, 241h, 2c1h, 341h, 3c1h) bit no. 7 6 5 4 3 2 1 0 bit name coss[24] coss[23] coss[22] coss[21] coss[20] coss[19] coss[18] coss[17] type r r r r r r r r default x x x x x x x x cossn: = 0: the signaling in its corresponding channel is not changed. = 1: the signaling in its corresponding channel is changed. these bits are cleared to 0 after the register is read. coss[24:17] correspond to channels 24 to 17. t1 / j1 rcrb signaling state change channels 9-16 (coss = 1) (042h, 0c2h, 142h, 1c2h, 242h, 2c2h, 342h, 3c2h) bit no. 7 6 5 4 3 2 1 0 bit name coss[16] coss[15] coss[14] coss[13] coss[12] coss[11] coss[10] coss[9] type r r r r r r r r default x x x x x x x x cossn: = 0: the signaling in its corresponding channel is not changed. = 1: the signaling in its corresponding channel is changed. these bits are cleared to 0 after the register is read. coss[16:9] correspond to channels 16 to 9 . t1 / j1 rcrb signaling state change channels 1-8 (coss = 1) (043h, 0c3h, 143h, 1c3h, 243h, 2c3h, 343h, 3c3h) bit no. 7 6 5 4 3 2 1 0 bit name coss[8] coss[7] coss[6] coss[5] coss[4] coss[3] coss[2] coss[1] type r r r r r r r r default x x x x x x x x cossn: = 0: the signaling in its corresponding channel is not changed. = 1: the signaling in its corresponding channel is changed. these bits are cleared to 0 after the register is read. coss[8:1] correspond to channels 8 to 1 .
236 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer rcrb indirect registers map 01h ~ 18h / 21h ~ 38h channel signaling data register for channel 1 ~ 24 19h ~ 20h, 39h ~ 40h - 41h ~ 58h per-channel configuration register for channel 1 ~ 24 t1 / j1 rcrb channel signaling data registers (coss = 0) (rcrb indirect registers 01h ~ 18h / 21h ? 38h) bit no. 7 6 5 4 3 2 1 0 bit name a b c d type reserved r r r r default x x x x a, b, c, d: they contain the signaling of the corresponding channel. there is a maximum 2 ms delay between the transition of the coss[n] bit (t1/j1-041h & t1/j1-042h & t1/j1-043h) and the updating of the a, b, c, d code in the corresponding indirect registers 21h ~ 38h. to avoid this 2ms delay, users can read the corresponding b3~0 in the indirect registers 01h ~ 18h first. if the value of these four bits are different from the previous a, b, c, d code, then the content of b3~0 in the 01h ~ 18h is the updated a, b, c, d code. if the conternt of the four bits is the same as the previous a, b, c, d code, then users should read the b3~0 in the 21h ~ 38h to get the updated a, b, c, d code. in sf format, the c and d are the repetition of the a and b respectively. t1 / j1 rcrb per-channel configuration registers (coss = 0) (rcrb indirect registers 41h ? 58h) bit no. 7 6 5 4 3 2 1 0 bit name deb type reserved r/w default x deb: = 0: disable signaling debounce. = 1: enable signaling debounce (valid only if the pcce is logic 1). that is, the signaling is acknowledged only when 2 consecutive signaling bits of a channel are the same.
237 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 frmg configuration (044h, 0c4h, 144h, 1c4h, 244h, 2c4h, 344h, 3c4h) bit no. 7 6 5 4 3 2 1 0 bit name mtrk j1_crc j1_yel esf gzcs[1] gzcs[0] type r/w r/w r/w r/w reserved r/w r/w default 0 0 0 0 0 0 mtrk: valid when the pcce (b0, t1/j1-030h) is logic 1. = 0: normal operation. = 1: replace the data on all channels with the data set in the idle[7:0] (b7~0, t1/j1-tplc-indirect registers-19~30h); replace the signaling on all channels with the data on the tssign/mtssig pin or the data in the a, b, c, d (b3~0, t1/j1-tplc-indirect registers-31~48h) according to the setting in the sigc[1:0] (b7~6, t1/j1-tplc-indirect registers-31~48h). j1_crc: this bit selects the t1 or j1 crc-6 algorithm when the esf (b4, t1/j1-044h) is 1. = 0: the crc-6 algorithm meets t1 standard. = 1: the crc-6 algorithm meets j1 standard. j1_yel: this bit selects the t1 or j1 yellow alarm pattern to be transmitted. = 0: the yellow alarm transition meets t1 standard. = 1: the yellow alarm transition meets j1 standard. the yellow alarm pattern is: - in t1 sf format: transmit the logic 0 on the 2nd bit of each channel. - in t1 esf format: transmit the ?ff00? on each fdl link. - in j1 sf format: transmit the logic 1 on the 12th f-bit. - in j1 esf format: transmit the ?ffff? on each fdl link. the sf or esf format is selected by the esf (b4, t1/j1-044h). esf: this bit selects the sf or esf format in the frame generator block. = 0: the sf format is selected. = 1: the esf format is selected. gzcs[1:0]: these bits select the zero code suppression format to be used. they are logically ored with the zcs[1:0] (b1~0, t1/j1-tplc-indirect registers- 01~18h). gzcs[1:0] zero code suppression 0 0 no zero code suppression. 0 1 gte zero code suppression ? every bit 8 (or bit 7 in signaling frames) is forced to be logic one when the bits in a channel are all zeros. 1 0 reserved. 1 1 bell zero code suppression ? every bit 7 is forced to be logic one when the bits in a channel are all zeros.
238 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 frmg alarm transmit (045h, 0c5h, 145h, 1c5h, 245h, 2c5h, 345h, 3c5h) bit no. 7 6 5 4 3 2 1 0 bit name xyel type reserved r/w reserved default 0 xyel: = 0: disable generating yellow alarm manually. = 1: enable generating yellow alarm manually. t1 / j1 ibcg control (046h, 0c6h, 146h, 1c6h, 246h, 2c6h, 346h, 3c6h) bit no. 7 6 5 4 3 2 1 0 bit name en uf cl1 cl0 type r/w r/w reserved r/w r/w default 0 0 0 0 en: = 0: disable transmiting the inband loopback code. = 1: enable transmiting the inband loopback code. uf: = 0: the frame generator block operates normally. it transmits the inband loopback code in framed mode, that is, only the 192 bits are replaced with the inband loopback while the f-bit is occupied by frame alignment pattern, dl or crc-6. = 1: disable the frame generator block, that is, disable to form the sf/esf frame. it transmits the inband loopback code in un-framed mode, that is, all 193 bits are replaced with the inband loopback code. cl[1:0]: the cl[1:0] define the length of the loopback code to be transmitted, meanwhile, they define the valid code in the ibc[7:0] (b7~0, t1/j1-047h): cl[1:0] loopback code length & valid code in the ibc[7:0] 0 0 5-bit length & the code in the ibc[7:3] is valid 0 1 6-bit or 3-bit length & the code in the ibc[7:2] is valid 1 0 7-bit length & the code in the ibc[7:1] is valid 1 1 8-bit or 4-bit length & the code in the ibc[7:0] is valid
239 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 ibcg loopback code (047h, 0c7h, 147h, 1c7h, 247h, 2c7h, 347h, 3c7h) bit no. 7 6 5 4 3 2 1 0 bit name ibc7 ibc6 ibc5 ibc4 ibc3 ibc2 ibc1 ibc0 type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x the ibc[7:x] defines the content of the inband loopback code. ?x? is one of 3 to 0 which is depending on the length defined by the cl[1:0] (b1~0, t1/j1-046h). the ibc[7] is the msb. t1 / j1 pmon interrupt enable / status (049h, 0c9h, 149h, 1c9h, 249h, 2c9h, 349h, 3c9h) bit no. 7 6 5 4 3 2 1 0 bit name inte xfer ovr type reserved r/w r r default 0 0 0 inte: = 0: disabled the interrupt on the int pin when the counter data has been transferred into the error count registers. = 1: enabled the interrupt on the int pin when the counter data has been transferred into the error count registers. xfer: = 0: indicate that the counter data has not been transferred to the error count registers. = 1: indicate that the counter data has been transferred to the error count registers. this bit is clear to 0 after the bit is read. ovr: = 0: indicate that no overwritten on the error count registers has occurred. = 1: indicate that one of the error count registers is overwritten. this bit is clear to 0 after the bit is read. registers 04a-04fh, 0ca-0cfh, 14a-14fh, 1ca-1cfh, 24a-24fh, 2ca-2cfh, 34a-34fh, 3ca-3cfh: the pmon error count registers for a single framer are updated as a group by writing to any of the pmon count registers or updated every 1 second when the autoupdate (b0, t1/j1-000h) is set. the pmon error count registers for eight framers are updated by writing to the chip id/ global pmon update register (t1/j1-00ch). when the chip is reset, the contents of the pmon error count registers are unknown until the first latching of performance data is performed.
240 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 pmon bee count (lsb) (04ah, 0cah, 14ah, 1cah, 24ah, 2cah, 34ah, 3cah) bit no. 7 6 5 4 3 2 1 0 bit name bee7 bee6 bee5 bee4 bee3 bee2 bee1 bee0 type r r r r r r r r default x x x x x x x x t1 / j1 pmon bee count (msb) (04bh, 0cbh, 14bh, 1cbh, 24bh, 2cbh, 34bh, 3cbh) bit no. 7 6 5 4 3 2 1 0 bit name bee11 bee10 bee9 bee8 type reserved r r r r default x x x x in the esf format, the bee[11:0] represent the number of the crc-6 errors, that is, the differences between the received crc-6 and the local calculated crc-6 in the sf format, the bee[11:0] represent the number of the bit errors in the frame alignment pattern. this register is updated on the defined intervals. t1 / j1 pmon fer count (lsb) (04ch, 0cch, 14ch, 1cch, 24ch, 2cch, 34ch, 3cch) bit no. 7 6 5 4 3 2 1 0 bit name fer7 fer6 fer5 fer4 fer3 fer2 fer1 fer0 type r r r r r r r r default x x x x x x x x t1 / j1 pmon fer count (msb) (04dh, 0cdh, 14dh, 1cdh, 24dh, 2cdh, 34dh, 3cdh) bit no. 7 6 5 4 3 2 1 0 bit name fer8 type reserved r default x the fer[8:0] represent the number of the bit errors in the frame alignment pattern . this register is updated on the defined intervals.
241 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 pmon oof count (04eh, 0ceh, 14eh, 1ceh, 24eh, 2ceh, 34eh, 3ceh) bit no. 7 6 5 4 3 2 1 0 bit name oof4 oof3 oof2 oof1 oof0 type reserved r r r r r default x x x x x the oof[4:0] represent the number of the out of sf/esf sync events and update on the defined intervals t1 / j1 pmon cofa count (04fh, 0cfh, 14fh, 1cfh, 24fh, 2cfh, 34fh, 3cfh) bit no. 7 6 5 4 3 2 1 0 bit name cofa2 cofa1 cofa0 type reserved r r r default x x x the cofa[2:0] represent the number of the changes of the frame alignment pattern position and update on the defined intervals t1 / j1 rplc configuration (050h, 0d0h, 150h, 1d0h, 250h, 2d0h, 350h, 3d0h) bit no. 7 6 5 4 3 2 1 0 bit name pcce type reserved r/w default 0 pcce: = 0: the per-channel functions in rplc are disabled. = 1: the per-channel functions in rplc are enabled.
242 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rplc m p access status (051h, 0d1h, 151h, 1d1h, 251h, 2d1h, 351h, 3d1h) bit no. 7 6 5 4 3 2 1 0 bit name busy type r reserved default 0 busy: = 0: no reading or writing operation on the indirect registers. = 1: an internal indirect register is being accessed, any new operation on the internal indirect register is not allowed. this bit goes low timed to an internal high-speed clock rising edge after the operation has been completed. the operation cycle is 640ns. no more operations to the indirect registers could be done until this bit is cleared. t1 / j1 rplc channel indirect address / control (052h, 0d2h, 152h, 1d2h, 252h, 2d2h, 352h, 3d2h) bit no. 7 6 5 4 3 2 1 0 bit name r/wb a6 a5 a4 a3 a2 a1 a0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 writing to this register with a valid address and r/wb bit initiates an internal operation cycle to the indirect registers. r/wb: = 0: write the data to the specified indirect register. = 1: read the data from the specified indirect register. a[6:0]: specify the address of the indirect registers (from 01h to 48h ) for the microprocessor access. t1 / j1 rplc channel indirect data buffer (053h, 0d3h, 153h, 1d3h, 253h, 2d3h, 353h, 3d3h) bit no. 7 6 5 4 3 2 1 0 bit name d7 d6 d5 d4 d3 d2 d1 d0 type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 this register holds the value which will be read from or written to the indirect registers (from 01h to 48h ). if data are to be written to the indirect registers, the byte to be written must be written into this register before the target indirect register?s address and r/wb=0 is written into the address/ control register, initiating the access. if data are to be read from the indirect registers, only the target indirect register?s address and r/wb=1 is written into the address/control register, initiating the request. after 640 ns, this register will contain the requested data byte. rplc indirect registers map 01h ~ 18h per-channel configuration for channel 1 ~ 24 19h ~ 30h data trunk conditioning code for channel 1 ~ 24 31h ~ 48h signaling trunk conditioning for channel 1 ~ 24
243 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rplc per-channel configuration registers (rplc indirect registers 01h ? 18h) bit no. 7 6 5 4 3 2 1 0 bit name invert dtrkc dmw signinv test extract fix pol type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x invert: this bit, together with the signinv (b4, t1/j1-rplc-indirect register - 01~18h), determines the bit inversion of the corresponding channel when output from the rsdn/mrsd pin. invert signinv bit inversion 0 0 no bit inversion 0 1 invert the msb of the corresponding channel 1 0 invert all the bits of the corresponding channel 1 1 invert all the bits except the msb of the corresponding channel dtrkc: = 0: disable the data in the corresponding channel to be replaced by the data set in the dtrk[7:0] (b7~0, t1/j1-19~30h) when output on the rsdn/mrsd pin. = 1: enable the data in the corresponding channel to be replaced by the data set in the dtrk[7:0] (b7~0, t1/j1-19~30h) when output on the rsdn/mrsd pin. dmw: = 0: disable the data in the corresponding channel to be replaced with a digital milliwatt pattern when output on the rsdn/mrsd pin. = 1: enable the data in the corresponding channel to be replaced with a digital milliwatt pattern when output on the rsdn/mrsd pin. signinv: refer to the invert (b7, t1/j1-rplc-indirect register - 01~18h) test: = 0: disable the data in the corresponding channel to be tested by prgd. = 1: enable the data in the corresponding channel to be extracted to prgd for test (when the rxpatgen [b2, t1/j1-00fh] is logic 0), or enable the test pattern from prgd to replace the data in the corresponding channel for test (when the rxpatgen [b2, t1/j1-00fh] is logic 1). all the channels that are extracted to the prgd are concatenated and treated as a continuous stream in which pseudo random are searched for. similarly, all channels set to be replaced with prgd test pattern data are concatenated replaced by the prbs. extract: this bit is valid in receive clock slave fractional t1/j1 mode: = 0: rsckn is held in its inactivated state. = 1: rsckn is clocked for the corresponding channel. fix: = 0: disable the signaling bit of the corresponding channel to be fixed with the value set by the pol when output on the rsdn/mrsd pin. = 1: enable the signaling bit of the corresponding channel to be fixed with the value set by the pol when output on the rsdn/mrsd pin. pol: valid when the fix is logic 1: = 0: fix the signaling bit of the corresponding channel to be logic 0. = 1: fix the signaling bit of the corresponding channel to be logic 1. the priority of the rplc operation of the corresponding channel on the rsdn/mrsd pin from high to low is: extract data to prgd for test; replace the data with the value in the dtrk[7:0]; replace the data with the milliwatt pattern; replace the data with the pattern generated in the prgd; invert the bits in the channel; fix the signaling bit.
244 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rplc data trunk conditioning code byte registers (rplc indirect registers 19h ? 30h) bit no. 7 6 5 4 3 2 1 0 bit name dtrk7 dtrk6 dtrk5 dtrk4 dtrk3 dtrk2 dtrk1 dtrk0 type r/w r/w r/w r/w r/w r/w r/w r/w default x x x x x x x x these indirect registers contain the data that will replace the data output on the rsdn/mrsd pin when the corresponding dtrkc (b6, t1/j1- rplc-indirect registers-01~18h) is logic 1. dtrk7 is the msb. t1 / j1 rplc signaling trunk conditioning byte registers (rplc indirect registers 31h ? 48h) bit no. 7 6 5 4 3 2 1 0 bit name strkc a b c d type r/w reserved r/w r/w r/w r/w default x x x x x strkc: = 0: disable the signaling of the corresponding channel to be replaced by the data set in the a, b, c, d (b3~0, t1/j1-rplc-indirect registers- 31~48h) when output on the rssign/mrssig pin. = 1: enable the signaling of the corresponding channel to be replaced by the data set in the a, b, c, d (b3~0, t1/j1-rplc-indirect registers- 31~48h) when output on the rssign/mrssig pin. a, b, c, d: these bits contain the data that will replace the data output on the rssign/mrssig pin when the corresponding strkc (b7, t1/j1-rplc- indirect registers-31~48h) is logic 1. they are in the least significant nibble.
245 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rhdlc #1, #2 configuration (054h, 0d4h, 154h, 1d4h, 254h, 2d4h, 354h, 3d4h) bit no. 7 6 5 4 3 2 1 0 bit name men mm tr en type reserved r/w r/w r/w r/w default 0 0 0 0 selection of the rhdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, t1/ j1-00dh). men, mm: the men & mm define the address matching mode: men mm address matching mode 0 x no address matching is needed. all the hdlc data are stored in the fifo. 1 0 the hdlc data are stored in the fifo when the first byte is all ones or the same as the setting in the pa[7:0] (b7~0, t1/j1- 058h) or the sa[7:0] (b7~0, t1/j1-059h). 1 1 the hdlc data are stored in the fifo when the most significant 6 bits in the first byte are all ones or the same as the setting in the pa[7:2] (b7~2, t1/j1-058h) or the sa[7:2] (b7~2, t1/j1-059h). tr: = 0: normal operation. = 1: forces the rhdlc to immediately terminate the reception of the current data frame, empty the fifo buffer, clear the interrupts and initiate a new hdlc searching. this bit is clear to 0 after a rising and falling edge occur on the internal clock or after the register is read. en: = 0: disabled the operation of the rhdlc block and all the fifo buffer and interrupts are cleared. = 1: enabled the operation of the rhdlc block and the hdlc opening flag will be searched immediately. if the en is set from logic 1 to logic 0 and back to logic 1, the rhdlc will immediately terminate the reception of the current data frame, empty the fifo buffer, clear the interrupts and initiate a new hdlc searching.
246 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rhdlc #1, #2 interrupt control (055h, 0d5h, 155h, 1d5h, 255h, 2d5h, 355h, 3d5h) bit no. 7 6 5 4 3 2 1 0 bit name inte intc[6] intc[5] intc[4] intc[3] intc[2] intc[1] intc[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 selection of the rhdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, t1/ j1-00dh). inte: = 0: disable the interrupt on the int pin when there is a transition from 0 to 1 on the intr (b0, t1/j1-056h). = 1: enable the interrupt on the int pin when there is a transition from 0 to 1 on the intr (b0, t1/j1-056h). intc[6:0]: these bits set the interrupt set point of the fifo buffer. exceeding the set point will cause an interrupt, and the interrupt will persist until the fifo is empty. the set point is decimal 128 when the intc[6:0] is all zeros. the contents of this register should only be changed when the en (b0, t1/j1-054h) is logic 0. this prevents any erroneous interrupt generation.
247 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rhdlc #1, #2 status (056h, 0d6h, 156h, 1d6h, 256h, 2d6h, 356h, 3d6h) bit no. 7 6 5 4 3 2 1 0 bit name fe ovr cols pkin pbs[2] pbs[1] pbs[0] intr type r r r r r r r r default x x x x x x x x selection of the rhdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, t1/ j1-00dh). fe: = 0: the fifo is loaded with data. = 1: the fifo is empty. ovr: the overwritten condition occurs when data are written over unread data in the fifo buffer. this bit is cleared to 0 after the register is read. = 0: no overwritten occurs. = 1: the fifo is overwritten, and then the fifo is reset , which cause the cols and pkin to be reset to logic 0. cols: this bit reflects the hdlc link status change. = 0: normal operation. = 1: the first hdlc opening flag sequence (7e) activated the hdlc or the hdlc abort sequence (7f) deactivated the hdlc is detected. this bit is cleared to 0 after the bit is read, or after the ovr transitions to logic 1, or after the en is cleared. pkin: = 0: the last byte of a non-aborted packet is not written into the fifo. = 1: the last byte of a non-aborted packet is written into the fifo. this bit is cleared to 0 after the bit is read, or after the ovr transitions to logic 1. pbs[2:0]: the pbs[2:0] indicate the status of the last byte read from the fifo. pbs[2:0] status of the data 000 normal data 001 a dummy byte to indicate the first hdlc opening flag sequence (7e) was detected, which means the hdlc link became active. 010 a dummy byte to indicate the hdlc abort sequence (7f) was detected, which means the hdlc link became inactive. 011 reserved 100 the last byte of a non-aborted hdlc packet was received. the hdlc packet is in an integer number of bytes and has no fcs error. 101 the last byte of a non-aborted hdlc packet was received and a non-integer number of bytes is in the packet. 110 the last byte of a non-aborted hdlc packet was received. the hdlc packet is in an integer number of bytes and has fcs error. 111 the last byte of a non-aborted hdlc packet was received. the hdlc packet is in a non-integer number of bytes and has fcs error. intr: = 0: no interrupt sources in the hdlc receiver block occurred. = 1: any one of the interrupt sources in the hdlc receiver block occurred. the interrupt sources in the hdlc receiver are: 1. receiving the first 7e opening flag sequence which activates the hdlc link; 2. a packet was received; 3. change of link status; 4. exceeding the set point of the fifo which is defined in the intc[6:0] (b6~0, t1/j1-055h); 5. over-writting the fifo. this bit is cleared to 0 after the bit is read.
248 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rhdlc #1, #2 data (057h, 0d7h, 157h, 1d7h, 257h, 2d7h, 357h, 3d7h) bit no. 7 6 5 4 3 2 1 0 bit name rd[7] rd[6] rd[5] rd[4] rd[3] rd[2] rd[1] rd[0] type r r r r r r r r default x x x x x x x x selection of the rhdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, t1/ j1-00dh). rd[7:0]: these bits represent the bytes read from the fifo. these bits should not be accessed at a rate greater than 1/15 of the xck rate. the rd[0] corresponds to the first bit of the serial received data from the fifo. t1 / j1 rhdlc #1, #2 primary address match (058h, 0d8h, 158h, 1d8h, 258h, 2d8h, 358h, 3d8h) bit no. 7 6 5 4 3 2 1 0 bit name pa[7] pa[6] pa[5] pa[4] pa[3] pa[2] pa[1] pa[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 1 1 1 1 1 1 1 1 selection of the rhdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, t1/ j1-00dh). pa[7:0]: these bits stipulate the primary address pattern. pa[0] compares to the first bit of the serial data. t1 / j1 rhdlc #1, #2 second address match (059h, 0d9h, 159h, 1d9h, 259h, 2d9h, 359h, 3d9h) bit no. 7 6 5 4 3 2 1 0 bit name sa[7] sa[6] sa[5] sa[4] sa[3] sa[2] sa[1] sa[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 1 1 1 1 1 1 1 1 selection of the rhdlc block (#1 or #2) whose registers are visible on the microprocessor interface is done via the rhdlcsel[1:0] (b7~6, t1/ j1-00dh). sa[7:0]: these bits stipulate the secondary address pattern. sa[0] compares to the first bit of the serial data.
249 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 tbom code (05dh, 0ddh, 15dh, 1ddh, 25dh, 2ddh, 35dh, 3ddh) bit no. 7 6 5 4 3 2 1 0 bit name boc[5] boc[4] boc[3] boc[2] boc[1] boc[0] type reserved r/w r/w r/w r/w r/w r/w default 1 1 1 1 1 1 when the boc[5:0] are written with any 6-bit code other than the ?111111?, the code will be transmitted as the bit oriented message (bom), overwriting any hdlc packets currently being transmitted. the bom pattern is ?111111110boc[0]boc[1]boc[2]boc[3]boc[4]boc[5]0?, that is, the boc[0] is transmitted first.
250 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 prgd control (060h) bit no. 7 6 5 4 3 2 1 0 bit name pdr[1] pdr[0] ps tinv rinv autosync mansync type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 1 0 pdr[1:0]: the pdr[1:0] define the function of the four prgd pattern detector registers: pdr[1:0] prgd pattern detector registers (#1 ~ #4) 00, 01 pattern receive 10 error count 11 bit count (the #1 is the lsb, while the #4 is the msb.) ps: = 0: a pseudo-random pattern is generated/detected by the prgd. = 1: a repetitive pattern is generated/detected by the prgd. this bit should be set first of all the prgd registers. tinv: = 0: disable inverting the generated pattern before being transmitted. = 1: enable inverting the generated pattern before being transmitted. rinv: = 0: disable inverting the received pattern before being processed. = 1: enable inverting the received pattern before being processed. autosync: = 0: disable automatic re-search for the sync of the pattern after the pattern is out of synchronization. = 1: enable automatic re-search for the sync of the pattern after the pattern is out of synchronization. mansync: trigger on the rising edge. a transition from logic 0 to logic 1 on this bit manually initiates a re-search for the sync of a pattern. each time the value of the prgd registers is changed or the detector data source changes, a manual sync operation is recommended to ensure that the detector works correctly.
251 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 prgd interrupt enable / status (061h) bit no. 7 6 5 4 3 2 1 0 bit name synce bee xfere syncv synci bei xferi ovr type r/w r/w r/w r r r r r default 0 0 0 x x x x x synce: = 0: disable the interrupt on the int pin when the synci is logic one. = 1: enable the interrupt on the int pin when the synci is logic one. bee: = 0: disable the interrupt on the int pin when at least one bit error has been detected in the received pattern. = 1: enable the interrupt on the int pin when at least one bit error has been detected in the received pattern. xfere: = 0: disable the interrupt on the int pin when the the data in the prgd pattern detector register is updated. = 1: enable the interrupt on the int pin when the the data in the prgd pattern detector register is updated. syncv: = 0: the pattern is out of sync (the pattern detector has detected 10 or more bit errors in a fixed 48-bit window). = 1: the pattern is in sync (the pattern detector has observed at least 48 consecutive error-free bit periods). synci: = 0: there is no transition on the syncv. = 1: there is a transition (from 0 to 1 or from 1 to 0) on the syncv. this bit is cleared to 0 after the bit is read. bei: = 0: no bit error is detected in the received pattern. = 1: at least one bit error has been detected in the received pattern. this bit is cleared to 0 after the bit is read. xferi: = 0: the data in the prgd pattern detector register is not updated. = 1: the data in the prgd pattern detector register is updated. this bit is cleared to 0 after the bit is read. ovr: = 0: the prgd pattern detector register is not overwritten. = 1: the prgd pattern detector register is overwritten. this bit is cleared to 0 after the bit is read.
252 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 prgd shift register length (062h) bit no. 7 6 5 4 3 2 1 0 bit name pl[4] pl[3] pl[2] pl[1] pl[0] type reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 these bits determine the length of the valid data in the prgd pattern insertion register. the length is equal to the value of pl[4:0] + 1. t1 / j1 prgd tap (063h) bit no. 7 6 5 4 3 2 1 0 bit name pt[4] pt[3] pt[2] pt[1] pt[0] type reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 these bits determine the feedback tap position of the generated pseudo random pattern before it is transmitted. the feedback tap position is equal to the value of pt[4:0] + 1. in application, the pt is always less than the pl. t1 / j1 prgd error insertion (064h) bit no. 7 6 5 4 3 2 1 0 bit name event eir[2] eir[1] eir[0] type reserved r/w r/w r/w r/w default 0 0 0 0 event: a single bit error is generated when the state of this bit is changed from 0 to 1. to insert another bit error, this bit must be cleared to 0, and then set from 0 to 1 again. eir[2:0]: the eir[2:0] bits determine the bit error rate that will be inserted in the prgd test pattern. if the bit error rate is changed from one non- zero value to another non-zero value, it is recommended to set the eir[2:0] to ?000? first, then set the eir[2:0] to the desired value. eir[2:0] bit error rate 0 0 0 no error inserted 0 0 1 no error inserted 0 1 0 10 -2 0 1 1 10 -3 1 0 0 10 -4 1 0 1 10 -5 1 1 0 10 -6 1 1 1 10 -7
253 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 prgd pattern insertion #1 (068h) bit no. 7 6 5 4 3 2 1 0 bit name pi[7] pi[6] pi[5] pi[4] pi[3] pi[2] pi[1] pi[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 t1 / j1 prgd pattern insertion #2 (069h) bit no. 7 6 5 4 3 2 1 0 bit name pi[15] pi[14] pi[13] pi[12] pi[11] pi[10] pi[9] pi[8] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 t1 / j1 prgd pattern insertion #3 (06ah) bit no. 7 6 5 4 3 2 1 0 bit name pi[23] pi[22] pi[21] pi[20] pi[19] pi[18] pi[17] pi[16] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 t1 / j1 prgd pattern insertion #4 (06bh) bit no. 7 6 5 4 3 2 1 0 bit name pi[31] pi[30] pi[29] pi[28] pi[27] pi[26] pi[25] pi[24] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when a repetitive pattern is selected to transmit, the data in these registers are the repetitive pattern. when a pseudo random pattern is selected to transmit, the data in these registers should be set to ffffffffh. they are the initial value for the pseudo random pattern. writing to pi[31:24] updates the prgd configuration. when a repetitive pattern is transmitted, the pi[31] is transmitted first, followed by the remaining bits in sequence down to pi[0]. the length of the valid data in these four registers is determined by the pl[4:0]. when the length is less than 31, the bits in higher pi are not used.
254 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 prgd pattern detector #1 (06ch) bit no. 7 6 5 4 3 2 1 0 bit name pd[7] pd[6] pd[5] pd[4] pd[3] pd[2] pd[1] pd[0] type r r r r r r r r default x x x x x x x x t1 / j1 prgd pattern detector #2 (06dh) bit no. 7 6 5 4 3 2 1 0 bit name pd[15] pd[14] pd[13] pd[12] pd[11] pd[10] pd[9] pd[8] type r r r r r r r r default x x x x x x x x t1 / j1 prgd pattern detector #3 (06eh) bit no. 7 6 5 4 3 2 1 0 bit name pd[23] pd[22] pd[21] pd[20] pd[19] pd[18] pd[17] pd[16] type r r r r r r r r default x x x x x x x x t1 / j1 prgd pattern detector #4 (06fh) bit no. 7 6 5 4 3 2 1 0 bit name pd[31] pd[30] pd[29] pd[28] pd[27] pd[26] pd[25] pd[24] type r r r r r r r r default x x x x x x x x when the pdr[1:0] (b7~6, t1/j1-060h) are set to 00 or 01, the four prgd pattern detector registers are configured as pattern receive registers. they reflect the content of the received pattern. when the pdr[1:0] (b7~6, t1/j1-060h) are set to 10, the four prgd pattern detector registers are configured as error counter registers. the value in these registers represent the number of bit errors. the bit errors are not accumulated when the pattern is out of sync. when the pdr[1:0] (b7~6, t1/j1-060h) are set to 11, the four prgd pattern detector registers are configured as bit counter registers. the value in these registers represent the total received bit number. these registers are updated each second automatically, or by writing to any of these four registers, or to the revision / chip id / global pmon register.
255 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 rhdlc receive data link 2 control (txcisel = 0) (070h, 0f0h, 170h, 1f0h, 270h, 2f0h, 370h, 3f0h) bit no. 7 6 5 4 3 2 1 0 bit name dl2_even dl2_odd dl2_ts[4] dl2_ts[3] dl2_ts[2] dl2_ts[1] dl2_ts[0] type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 when the txcisel (b3, t1/j1-00dh) is 0, this register is used for the receive hdlc #2. dl2_even: = 0: the data is not extracted from the even frames. = 1: the data is extracted from the even frames. dl2_odd: = 0: the data is not extracted from the odd frames. = 1: the data is extracted from the odd frames. dl2_ts[4:0]: these bits binary define one channel of even and/or odd frames to extract the data from. they are invalid when the dl2_even and the dl2_odd are both logic 0. t1 / j1 rhdlc data link 2 bit select (txcisel = 0) (071h, 0f1h, 171h, 1f1h, 271h, 2f1h, 371h, 3f1h) bit no. 7 6 5 4 3 2 1 0 bit name dl2_bit[7] dl2_bit[6] dl2_bit[5] dl2_bit[4] dl2_bit[3] dl2_bit[2] dl2_bit[1] dl2_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, t1/j1-00dh) is 0, this register is used for the receive hdlc #2. dl2_bitn: = 0: the data is not extracted from the corresponding bit. = 1: the data is extracted from the corresponding bit of the assigned channel. these bits are invalid when the dl2_even and the dl2_odd are both logic 0. the dl1_bit[7] corresponds to the first bit (msb) of the selected channel.
256 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 thdlc transmit data link 2 control (txcisel = 1) (070h, 0f0h, 170h, 1f0h, 270h, 2f0h, 370h, 3f0h) bit no. 7 6 5 4 3 2 1 0 bit name dl2_even dl2_odd dl2_ts[4] dl2_ts[3] dl2_ts[2] dl2_ts[1] dl2_ts[0] type r/w r/w reserved r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 when the txcisel (b3, t1/j1-00dh) is 1, this register is used for the transmit hdlc #2. dl2_even: = 0: the data is not inserted to the even frames. = 1: the data is inserted to the even frames. dl2_odd: = 0: the data is not inserted to the odd frames. = 1: the data is inserted to the odd frames. dl2_ts[4:0]: these bits binary define one channel of even and/or odd frames to insert the data to. they are invalid when the dl2_even and the dl2_odd are both logic 0. t1 / j1 thdlc data link 2 bit select (txcisel = 1) (071h, 0f1h, 171h, 1f1h, 271h, 2f1h, 371h, 3f1h) bit no. 7 6 5 4 3 2 1 0 bit name dl2_bit[7] dl2_bit[6] dl2_bit[5] dl2_bit[4] dl2_bit[3] dl2_bit[2] dl2_bit[1] dl2_bit[0] type r/w r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 0 when the txcisel (b3, t1/j1-00dh) is 1, this register is used for the transmit hdlc #2. dl2_bitn: = 0: the data is not inserted to the corresponding bit. = 1: the data is inserted to the corresponding bit of the assigned channel. these bits are invalid when the dl2_even and the dl2_odd are both logic 0. the dl1_bit[0] corresponds to the first bit (msb) of the selected channel.
257 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 resi timeslot offset (077h, 0f7h, 177h, 1f7h, 277h, 2f7h, 377h, 3f7h) bit no. 7 6 5 4 3 2 1 0 bit name tsoff[6] tsoff[5] tsoff[4] tsoff[3] tsoff[2] tsoff[1] tsoff[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 in the receive clock slave mode, when the data rate on the system side is 2.048m bit/s (the rscck2m [b4, t1/j1-001h] and rscck8m [b3, t1/j1-001h] are set to ?10?), these bits determine the channel offset between the rscfs and the start of the corresponding frame on the rsdn (and rssign). in the receive multiplexed mode, these bits determine the channel offset between the mrscfs and the start of the corresponding frame on the mrsd and mrssig. in the receive clock slave mode, when the data rate on the system side is 1.544m bit/s, and in receive clock master mode, the channel offset is disabled. thus, the tsoff must be set to 0. they define a binary number. the offset can be set from 0 to 127 channels.
258 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer t1 / j1 resi timeslot offset (078h, 0f8h, 178h, 1f8h, 278h, 2f8h, 378h, 3f8h) bit no. 7 6 5 4 3 2 1 0 bit name fpinv rsd_rscfs_edge cms boff_en boff[2] boff[1] boff[0] type reserved r/w r/w r/w r/w r/w r/w r/w default 0 0 0 0 0 0 0 fpinv: = 0: the receive framing pulse rscfs and rsfsn/mrsfs are active high. = 1: the receive framing pulse rscfs and rsfsn/mrsfs are active low. when the bit indicates the rscfs and mrsfs polarity, the bits of all eight framers must have the same value. rsd_rscfs_edge: valid when the cms (b4, t1/j1-078h) is logic 1 and the setting in the rscfsfall (b1, t1/j1-003h) and that in the rscckrise (b0, t1/j1- 003h) are equal. = 0: select the second active edge of the rscck to update the signal on the rsdn, rssign and rsfsn pins, or select the first active edge of the mrscck to update the signal on the mrsd, mrssig and mrsfs pins. = 1: select the first active edge of the rscck to update the signal on the rsdn, rssign and rsfsn pins, or select the second active edge of the mrscck to update the signal on the mrsd, mrssig and mrsfs pins. (the signal on the rscfs/mrscfs pin is always sampled on the first active edge.) in receive multiplexed mode, the rsd_rscfs_edge in all eight framers should be set to the same value. cms: = 0: the bit rate of rscck/mrscck is the same as the bit rate of the backplane. = 1: the bit rate of rscck/mrscck is twice the bit rate of the backplane. the cms in all eight framers should be set to the same value. boff_en: valid when the cms (b4, t1/j1-078h) is 0. = 0: disable the bit offset. = 1: enable the bit offset. boff[2:0]: valid when the cms (b4, t1/j1-078h)is 0 and the boff_en is logic 1. in receive clock slave mode, when the data rate in the system side is 2.048m bit/s (the rscck2m [b4, t1/j1-001h] and rscck8m [b3, t1/j1- 001h] are set to ?10?), these bits determine the bit offset between the rscfs and the start of the corresponding frame on the rsdn (and rssign). in receive multiplexed mode, these bits determine the bit offset between the mrscfs and the start of the corresponding frame on the mrsd and mrssig. in receive clock slave mode, when the data rate in the system side is 1.544m bit/s, and in receive clock master mode, the bit offset is disabled. these bits define a binary number. programming of the bit offsets is consistent with the convention established by the concentration highway interface (chi) specification. refer to the functional description for details.
259 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 6 ieee std 1149.1 jt a g test access por t the idt82v2108 supports the digital boundary scan specification as described in the ieee 1149.1 standards. the boundary scan architecture consists of data and instruction reg- isters plus a test access port (tap) controller. control of the tap is achieved through signals applied to the test mode select (tms) and bsr (boundary scan register) idr (device identification register) br (bypass register) ir (instruction register) mux tdo tdi tck tms trst control<6:0> mux select output enable tap (test access port) controller test clock (tck) input pins. data are shifted into the registers via the test data input (tdi) pin, and shifted out of the registers via the test data output (tdo) pin. both tdi and tdo are clocked at a rate deter- mined by tck. the jtag boundary scan registers includes bsr (boundary scan register), idr (device identification register), br (bypass register) and ir (instruction register). these will be described in the following pages. refer to figure - 83 for architecture. figure - 83. jtag architecture
260 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer ir code instruction comments 000 extest the external test instruction allows testing of the interconnection to other devices. when the current instruction is the extest instruction, the boundary scan register is placed between tdi and tdo. the signal on the input pins can be sampled by loading the boundary scan register using the capture-dr state. the sampled values can then be viewed by shifting the boundary scan register using the shift-dr state. the signal on the output pins can be controlled by loading patterns shifted in through input tdi into the boundary scan register using the update-dr state. 010 sample / the sample/preload instruction is used to allow scanning of the boundary-scan register without causing preload interference to the normal operation of the on-chip system logic. data received at system input pins is supplied without modification to the on-chip system logic; data from the on-chip system logic is driven without modification through the system output pins. sample allows a snapshot to be taken of the data flowing from the system pins to the on-chip system logic or vice versa, without interfering with the normal operation of the assembled board. preload allows an initial data pattern to be placed at the latched parallel outputs of boundary-scan register cells prior to selection of another boundary-scan test operation. 001 idcode the identification instruction is used to connect the identification register between tdi and tdo. the device?s identification code can then be shifted out using the shift-dr state. 111 byp ass the byp ass instruction shifts data from input tdi to output tdo with one tck clock period delay. the instruc- tion is used to bypass the device. 100 c lamp this instruction allows the state of the signals driven from device pins to be determined from the boundary-scan register while the bypass register is selected as the serial path between tdi and tdo. the signals driven from the device pins will not change while the clamp instruction is selected. 101 highz u se of the highz instruction places the device in a state in which all of its system logic outputs are placed in an inactive drive state (e.g., high impedance). in this state, and in-circuit test system may drive signals onto the con- nections normally driven by a device output without incurring the risk of damage to the device. 011 (for manufactory test) table - 64. ir code
261 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 6.1 jt ag instructions and instruction register (ir) the ir (instruction register) with instruction decode block is used to select the test to be executed or the data register to be accessed or both. the instructions are shifted in lsb first to this 3-bit register. see table - 64 for details of the codes and the instructions related. 6.2 jt ag da t a register 6.2.1 device identifica tion register (idr) the idr can be set to define the vision, the part number, the manufacturer identity and a fixed bit. the idr is 32 bits long and is partitioned as in table - 65. data from the idr is shifted out to the tdo lsb first. bit no. comments 0 set to ?1? 1~11 manufacturer identity (033h) 12~27 part number (04d0h) 28~31 version (2h) table - 65. idr 6.2.2 byp ass register (byr) the byr consists of a single bit. it can provide a serial path between the tdi input and tdo output, bypassing the byr to reduce test access times. 6.2.3 boundar y scan register (bsr) the scan chain uses 3 types of cells: ? input / output cells: when used as input, the cells are able to sample and control the state of an external signal during bs tests. when used as output, the cells are able to control the state of an external signal during bs tests. ? in/out or tri-state output cells: when configured as input, the cells are able to sample and control the state of an external signal. when configured as output, the cells are able to control the state of an external signal. ? control cell: this cell provides a signal for direction control of bi- directional or tri-state output pins during bs tests. the boundary scan sequence and the i/o pad cell type are illustrated in table - 66: 6.3 test access port controller the tap controller is a 16-state synchronous state machine. figure - 84 shows its state diagram. a description of each state follows. note that the figure contains two main branches to access either the data or instruction registers. the value shown next to each state transition in this figure states the value present at tms at each rising edge of tck. please refer to table - 67 for details of the state description. table - 66. boundary scan sequence and the i/o pad cell type pin_name cell type bs * lrd[1] input 128 lrck[1] input 127 lrd[2] input 126 lrck[2] input 125 lrd[3] input 124 lrck[3] input 123 lrd[4] input 122 lrck[4] input 121 ltd[1] output 120 ltck[1] output 119 ltd[2] output 118 ltck[2] output 117 ltd[3] output 116 ltck[3] output 115 ltd[4] output 114 ltck[4] output 113 ltd[5] output 112 ltck[5] output 111 ltd[6] output 110 ltck[6] output 109 ltd[7] output 108 pin_name cell type bs * ltck[7] output 107 ltd[8] output 106 ltck[8] output 105 lrd[5] input 104 lrck[5] input 103 lrd[6] input 102 lrck[6] input 101 lrd[7] input 100 lrck[7] input 99 lrd[8] input 98 lrck[8] input 97 rst input 96 int output 95 d[7:0]_en control 94 d[0] in/out 93 d[1] in/out 92 d[2] in/out 91 d[3] in/out 90 d[4] in/out 89 d[5] in/out 88 d[6] in/out 87
262 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer pin_name cell type bs * d[7] in/out 86 ale input 85 a[0] input 84 a[1] input 83 a[2] input 82 a[3] input 81 a[4] input 80 a[5] input 79 a[6] input 78 a[7] input 77 a[8] input 76 a[9] input 75 a[10] input 74 cs input 73 wr input 72 rd input 71 rsfs[8] output 70 rsck[8]/rssig[8] tri-state output 69 rsck[8]/rssig[8]_en control 68 rsd[8] tri-state output 67 rsd[8]_en control 66 rsfs[7] output 65 rsck[7]/rssig[7] tri-state output 64 rsck[7]/rssig[7]_en control 63 rsd[7] tri-state output 62 rsd[7]_en control 61 rsfs[6] output 60 rsck[6]/rssig[6] tri-state output 59 rsck[6]/rssig[6]_en control 58 rsd[6] tri-state output 57 rsd[6]_en control 56 rsfs[5] output 55 rsck[5]/rssig[5] tri-state output 54 rsck[5]/rssig[5]_en control 53 rsd[5] tri-state output 52 rsd[5]_en control 51 rsfs[4] output 50 rsck[4]/rssig[4] tri-state output 49 rsck[4]/rssig[4]_en control 48 rsd[4] tri-state output 47 rsd[4]_en control 46 rsfs[3] output 45 rsck[3]/rssig[3] tri-state output 44 rsck[3]/rssig[3]_en control 43 rsd[3] tri-state output 42 rsd[3]_en control 41 rsfs[2]/mrsfs[2] output 40 rsck[2]/rssig[2]/mrssig[2] tri-state output 39 rsck[2]/rssig[2]/mrssig[2]_en control 38 pin_name cell type bs * rsd[2]/mrsd[2] tri-state output 37 rsd[2]/mrsd[2]_en control 36 rsfs[1]/mrsfs[1] output 35 rsck[1]/rssig[1]/mrssig[1] tri-state output 34 rsck[1]/rssig[1]/mrssig[1]_en control 33 rsd[1]/mrsd[1] tri-state output 32 rsd[1]/mrsd[1]_en control 31 tssig[8]/tsfs[8] in/out 30 tssig[8]/tsfs[8]_en control 29 tsd[8] input 28 tssig[7]/tsfs[7] in/out 27 tssig[7]/tsfs[7]_en control 26 tsd[7] input 25 tssig[6]/tsfs[6] in/out 24 tssig[6]/tsfs[6]_en control 23 tsd[6] input 22 tssig[5]/tsfs[5] in/out 21 tssig[5]/tsfs[5]_en control 20 tsd[5] input 19 tssig[4]/tsfs[4] in/out 18 tssig[4]/tsfs[4]_en control 17 tsd[4] input 16 tssig[3]/tsfs[3] in/out 15 tssig[3]/tsfs[3]_en control 14 tsd[3] input 13 tsfs[2]/tssig[2]/mtssig[2] in/out 12 tsfs[2]/tssig[2]/mtssig[2]_en control 11 tsd[2]/mtsd[2] input 10 tsfs[1]/tssig[1]/mtssig[1] in/out 9 tsfs[1]/tssig[1]/mtssig[1]_en control 8 tsd[1]/mtsd[1] input 7 xck input 6 rscfs/mrscfs input 5 rscck/mrscck input 4 tscfs/mtscfs input 3 tscckb/mtscckb input 2 tsccka input 1 note: * bs means boundary scan sequence
263 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer table - 67. tap controller state description state description test logic reset in this state, the test logic is disabled to continue normal operation of the device. during initialization, the device initializes the instruction register with the idcode instruction. regardless of the origin al state of the controller, the controller enters the test - logic - reset state when the tms input is held high for at least 5 rising edges of tck. the controller remains in this state while tms is high. run - test/idle this is a controller state between scan operations. once in this state, the controller remains in the state as long as tms is held low. the instruction register and all test data registers retain their previous state. when tms is high and a rising edge is applied to tck, the controller mov es to the select - dr state. select - dr - scan this is a temporary controller state and the instruction does not change in this state. the test data register selected by the current instruction retains its previous state. if tms is held low and a rising e dge is applied to tck when in this state, the controller moves into the capture - dr state and a scan sequence for the selected test data register is initiated. if tms is held high and a rising edge applied to tck, the controller moves to the select - ir - scan state. capture - dr in this state, the boundary scan register captures input pin data if the current instruction is extest or sample/preload. the instruction does not change in this state. the other test data registers, which do not have parallel input , are not changed. when the tap controller is in this state and a rising edge is applied to tck, the controller enters the exit1 - dr state if tms is high or the shift - dr state if tms is low. shift - dr in this controller state, the test data register co nnected between tdi and tdo as a result of the current instruction shifts data on stage toward its serial output on each rising edge of tck. the instruction does not change in this state. when the tap controller is in this state and a rising edge is applie d to tck, the controller enters the exit1 - dr state if tms is high or remains in the shift - dr state if tms is low. exit1 - dr this is a temporary state. while in this state, if tms is held high, a rising edge applied to tck causes the controller to ente r the update - dr state, which terminates the scanning process. if tms is held low and a rising edge is applied to tck, the controller enters the pause - dr state. the test data register selected by the current instruction retains its previous value and the in struction does not change during this state. pause - dr the pause state allows the test controller to temporarily halt the shifting of data through the test data register in the serial path between tdi and tdo. for example, this state could be used to allow the tester to reload its pin memory from disk during application of a long test sequence. the test data register selected by the current instruction retains its previous value and the instruction does not change during this state. the controller rema ins in this state as long as tms is low. when tms goes high and a rising edge is applied to tck, the controller moves to the exit2 - dr state. exit2 - dr this is a temporary state. while in this state, if tms is held high, a rising edge applied to tck ca uses the controller to enter the update - dr state, which terminates the scanning process. if tms is held low and a rising edge is applied to tck, the controller enters the shift - dr state. the test data register selected by the current instruction retains it s previous value and the instruction does not change during this state. update - dr the boundary scan register is provided with a latched parallel output to prevent changes while data is shifted in response to the extest and sample/preload instructions . when the tap controller is in this state and the boundary scan register is selected, data is latched into the parallel output of this register from the shift - register path on the falling edge of tck. the data held at the latched parallel output changes o nly in this state. all shift - register stages in the test data register selected by the current instruction retain their previous value and the instruction does not change during this state. select - ir - scan this is a temporary controller state. the tes t data register selected by the current instruction retains its previous state. if tms is held low and a rising edge is applied to tck when in this state, the controller moves into the capture - ir state, and a scan sequence for the instruction register is i nitiated. if tms is held high and a rising edge is applied to tck, the controller moves to the test - logic - reset state. the instruction does not change during this state. capture - ir in this controller state, the shift register contained in the instru ction register loads a fixed value of ?100? on the rising edge of tck. this supports fault - isolation of the board - level serial test data path. data registers selected by the current instruction retain their value and the instruction does not change during this state. when the controller is in this state and a rising edge is applied to tck, the controller enters the exit1 - ir state if tms is held high, or the shift - ir state if tms is held low.
264 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer state description shift - ir in this state, the shift register contained in the instruction register is connected between tdi and tdo and shifts data one stage towards its serial output on each rising edge of tck. the test data register selected by the current instruction retains its previous value and the instruction does not change during this state. when the controller is in this state and a rising edge is applied to tck, the controller enters the exit1 - ir state if tms is held high, or remains in the shift - ir state if tms is held low. exit1 - ir this is a temporary state. while in this state, if tms is held high, a rising edge applied to tck causes the controller to enter the update - ir state, which terminates the scanning process. if tms is held l ow and a rising edge is applied to tck, the controller enters the pause - ir state. the test data register selected by the current instruction retains its previous value and the instruction does not change during this state. pause - ir the pause state al lows the test controller to temporarily halt the shifting of data through the instruction register. the test data register selected by the current instruction retains its previous value and the instruction does not change during this state. the controller remains in this state as long as tms is low. when tms goes high and a rising edge is applied to tck, the controller moves to the exit2 - ir state. exit2 - ir this is a temporary state. while in this state, if tms is held high, a rising edge applied to tc k causes the controller to enter the update - ir state, which terminates the scanning process. if tms is held low and a rising edge is applied to tck, the controller enters the shift - ir state. the test data register selected by the current instruction retain s its previous value and the instruction does not change during this state. update - ir the instruction shifted into the instruction register is latched into the parallel output from the shift - register path on the falling edge of tck. when the new instructi on has been latched, it becomes the current instruction. the test data registers selected by the current instruction retain their previous value. test-logic reset run test/idle select-dr select-ir capture-dr capture-ir shift-dr shift-ir exit1-dr exit1-ir pause-dr pause-ir exit2-dr exit2-ir update-dr update-ir 1 0 0 1 1 1 0 0 0 0 0 0 1 1 1 0 1 0 1 1 1 0 1 0 1 0 1 1 0 0 0 1 figure - 84. jtag state diagram
265 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 7 phy sical and electrical specifica tions 7.1 absolute maximum ra tings 7.2 opera ting conditions @ ta = -40 to +85 c , vdd = 3.3v 10% , vdd bias 5.5v 7.3 d.c. characteristics min max storage temperature -65 c +150 c voltage on vdd w.r.t. gnd -0.3v 4.6v voltage on bias w.r.t. gnd vdd-0.3v 5.5v voltage on any pin -0.3v bias+0.3v maximum lead temperature 230 c during tbc seconds esd performance (hbm) 2000v esd performance (cdm) 1000v latch-up current on any pin 100ma maximum dc current on any pin maximum lead temperature maximum junction temperature parameter description min typ max unit test conditions vddc, vddio core power supply 2.97 3.3 3.63 v bias 5v tolerant bias vdd 5.0 5.5 v ibias current into 5v bias 0 1 3 ma vbias=5.5v vil input low voltage 0.8 v vih input high voltage 2.0 bias v vol output low voltage 0.4 v vdd=min, iol= 2ma, 3ma voh output high voltage 2.4 v vdd=min, iol= 3ma, 3ma vt+ reset input high voltage 1.50 1.75 2.0 v vt- reset input low voltage 0.83 1.10 1.33 v vth reset input hysteresis voltage 0.17 0.65 1.17 v iilpu input low current -70 -330 -450 ua vil=gnd iil input low current -1 0 +1 ua vil=gnd iih input high current -10 0 +10 ua vih=vbias i ddop1 operating current 160 ma e1 mode, xck=49.152mhz, tscckb=2.048mhz, output unloaded, vdd=3.63v. i ddop2 operating current 170 ma e1 mode, xck=49.152mhz, tscckb=8.192mhz, output unloaded. vdd=3.63v. i ddop3 operating current 120 ma t1 mode, xck=37.056mhz, tscckb=1.544mhz, output unloaded. vdd=3.63v.
266 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 7.4 clock and reset timing the rst must be asserted for a minimum of 100 ns after xclk is stable to ensure that the chip is completely reset. 7.4.1 clock p arameters e1 configura tion min. frequency (mhz) max. frequency (mhz) ppm t l min 1 t h min 1 xck 3 37.056 32 2 lrck 1.534 1.545 100 100 mrscck 8.00 8.40 40 40 tsccka 1.534 1.545 100 100 rscck 1.50 2.058 4 140 140 tscckb 1.50 2.10 4 140 140 7.4.2 clock p arameters t1/j1 configura tion min. frequency (mhz) max. frequency (mhz) ppm t l min (ns) * t h min (ns) * xck 49.152 50 lrck 2.0 2.1 100 100 mrscck 8.0 8.4 40 40 tsccka 2.0 2.1 100 100 rscck 2.0 2.1 140 140 tscckb 2.0 2.1 140 140 note: 1. the t l and t h are defined in the figure. 2. an xck input accuracy of 100 ppm is only acceptable if an accurate line rate reference is provided. if tjat is left to free-run without a reference, or referenced to a derivative of xck, then xck accuracy must be 32 ppm. the accuracy of xck affect the performance of tjat/rjat. 3. an xck input accuracy of 100 ppm is only acceptable if an accurate line rate reference is provided. if tjat is left to free-run without a reference, or referenced to a derivative of xclk, then xclk accuracy must be 32 ppm. the accuracy of xclk affect the performance of tjat/djat. 4. for t1 mode with 2.048mb/s back-plane data rate only. clock in the above two tables th tl
267 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer symbol parameter min max units ts ar address to valid read set-up time 0 ns th ar address to valid read hold time 0 ns ts alr address to latch set-up time 5 ns th alr address to latch hold time 5 ns tv l valid latch pulse width 10 ns ts lr latch to read set-up time 0 ns th lr latch to read hold 0 ns tz rd valid read negated to output tri-state 20 ns tp rd valid read to valid data propagation delay e1 130 ns t1 160 ns tz inth valid read negated to int inactive e1 145 ns t1 185 ns tv rd valid read width e1 120 ns t1 150 ns t w2r valid interval from last write to next read e1 120 ns t1 150 ns figure - 85. read access timing notes: 1. output propagation delay time is the time from the v dd /2 point of the reference signal to the 1.4v point of the output. 2. maximum output propagation delays are measured with a 100pf load on the mpif data bus d[7:0]. 3. all the set-up time or hold time are defined as the time between the v dd /2 point of the reference signal. 4. in non-multiplexed mode, ale can be held high, tsa lr , th alr , tv l , ts lr and th lr are not applicable. 5. parameter th ar is not applicable when address latching is used. the interval of read accesses should > = 180 ns. 7.5 microprocessor read access timing a[9:0] ts ar ts alr tv l ts lr th alr th ar tv rd tz inth ale cs + rd int d[7:0] tp rd tz rd valid address vald data t w2r cs + wr
268 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 7.6 microprocessor write access timing symbol parameter min max units ts aw address to valid write set-up time 5 ns ts dw data to valid write set-up time 0 ns ts alw address to latch set-up time 5 ns th alw address to latch hold time 5 ns tv l valid latch pulse width 5 ns th lw latch to write hold 5 ns th dw data to valid write hold time 5 ns th aw address to valid write hold time 5 ns t w2w write to write interval e1 80 ns t1 100 ns figure - 86. write access timing notes: 1. output propagation delay time is the time from the v dd /2 point of the reference signal to the v dd /2 point of the output. 2. all the set-up time or hold time are defined as the time between the v dd /2 point of the reference signal. 3. in non-multiplexed mode, ale can be held high, tsa lw , th alw , tv l , ts lw and th lw are not applicable. 4. parameter th aw and ts aw are not applicable when address latching is used. a[9:0] ts aw ts dw tv l th alw th aw th lw ale cs + wr d[7:0] valid address vald data ts alw th dw t w2w
269 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 7.7 i/o timing characteristics 7.7.1 transmit system interf ace timing note that timing information can refer to the positive or negative edge of the reference clock. the active clock edge is selected by configuration flags. symbol parameter min typ max unit tprop propagation delay 0 20 ns ts set up time 15 ns thold hold time 10 ns tscckb tsfs[x] tprop tsd[x] tssig[x] tscfs thold ts figure - 87. transmit interface timing (transmit system common clock #b) ltck[x] tsfs[x] tprop tsd[x] thold ts figure - 88. transmit interface timing (line transmit clock)
270 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 7.7.2 receive system interf ace timing note that timing information can refer to the positive or negative edge of the reference clock. the active clock edge is selected by configuration flags. symbol parameter min typ max unit tprop propagation delay 0 20 ns ts set up time 10 ns thold hold time 10 ns rscck rscfp tprop rsd[x] rssig[x] rsfs[x] thold ts figure - 89. receive interface timing (receive system common clock) rsck[x] rsd[x] rsps[x] tprop figure - 90. receive interface timing (receive system clock)
271 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer 7.7.3 receive & transmit line timing note that timing information can refer to the positive or negative edge of the reference clock. the active clock edge is selected by configuration flags. 7.7.3.1 receive line interface timing lrck[x] lrd[x] thold ts figure - 91. receive line interface timing symbol parameter min typ max unit tprop propagation delay -10 10 ns tlclk[x] tld[x] tprop figure - 92. transmit line interface timing 7.7.3.2 transmit line interface timing symbol parameter min typ max unit ts setup time 10 ns th hold time 10 ns
272 industrial temperature ranges idt82v2108 t1 / e1 / j1 octal framer corporate headquarters for sales: for tech support: 2975 stender way 800-345-7015 or 408-727-6116 408-330-1552 santa clara, ca 95054 fax: 408-492-8674 email: telecomhelp@idt.com *to search for sales office near you, please click the sales button found on our home page or dial the 800# above and press 2. the idt logo is a registered trademark of integrated device technology, inc. www.idt.com* data sheet document history 07/30/2002 pgs 48, 50, 199 09/09/2002 pgs 32, 33, 123, 125, 190, 236 01/15/2003 pgs 1, 272 ordering informa tion idt xxxxxxx xx x device type package process/temperature range blank industrial (-40 c to +85 c) bb plastic ball grid array (pbga, bb144) px plastic quad flat pack (pqfp128) 82v2108 t1 / e1 / j1 octal framer


▲Up To Search▲   

 
Price & Availability of IDT82V2108PX8

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X